From 409215fe6c6d407bea27fcfbef7b959cbe23f10d Mon Sep 17 00:00:00 2001 From: robertlipe Date: Mon, 7 Jul 2014 03:35:30 +0000 Subject: [PATCH] Remove a large amount of unreachable code formerly involved in characterset translation. --- gpsbabel/cet/atarist.h | 256 ------------- gpsbabel/cet/baltic.h | 178 ---------- gpsbabel/cet/bs_4730.h | 127 ------- gpsbabel/cet/bs_viewdata.h | 134 ------- gpsbabel/cet/cp1250.h | 266 -------------- gpsbabel/cet/cp1251.h | 275 -------------- gpsbabel/cet/cp1253.h | 242 ------------- gpsbabel/cet/cp1254.h | 228 ------------ gpsbabel/cet/cp1255.h | 212 ----------- gpsbabel/cet/cp1256.h | 232 ------------ gpsbabel/cet/cp1257.h | 205 ----------- gpsbabel/cet/csa_z243_4_1985_1.h | 131 ------- gpsbabel/cet/csa_z243_4_1985_2.h | 131 ------- gpsbabel/cet/csa_z243_4_1985_gr.h | 206 ----------- gpsbabel/cet/csn_369103.h | 200 ----------- gpsbabel/cet/cwi.h | 256 ------------- gpsbabel/cet/dec_mcs.h | 129 ------- gpsbabel/cet/din_66003.h | 129 ------- gpsbabel/cet/ds_2089.h | 124 ------- gpsbabel/cet/ecma_cyrillic.h | 219 ------------ gpsbabel/cet/es.h | 132 ------- gpsbabel/cet/es2.h | 129 ------- gpsbabel/cet/gb_1988_80.h | 127 ------- gpsbabel/cet/gost_19768_87.h | 189 ---------- gpsbabel/cet/hp_roman8.h | 219 ------------ gpsbabel/cet/ibm037.h | 381 -------------------- gpsbabel/cet/ibm1004.h | 152 -------- gpsbabel/cet/ibm1026.h | 380 -------------------- gpsbabel/cet/ibm1047.h | 380 -------------------- gpsbabel/cet/ibm256.h | 381 -------------------- gpsbabel/cet/ibm273.h | 380 -------------------- gpsbabel/cet/ibm277.h | 380 -------------------- gpsbabel/cet/ibm278.h | 381 -------------------- gpsbabel/cet/ibm280.h | 381 -------------------- gpsbabel/cet/ibm284.h | 381 -------------------- gpsbabel/cet/ibm285.h | 381 -------------------- gpsbabel/cet/ibm297.h | 381 -------------------- gpsbabel/cet/ibm437.h | 256 ------------- gpsbabel/cet/ibm500.h | 381 -------------------- gpsbabel/cet/ibm850.h | 257 -------------- gpsbabel/cet/ibm851.h | 255 ------------- gpsbabel/cet/ibm852.h | 257 -------------- gpsbabel/cet/ibm855.h | 255 ------------- gpsbabel/cet/ibm857.h | 252 ------------- gpsbabel/cet/ibm860.h | 256 ------------- gpsbabel/cet/ibm861.h | 256 ------------- gpsbabel/cet/ibm862.h | 255 ------------- gpsbabel/cet/ibm863.h | 256 ------------- gpsbabel/cet/ibm864.h | 249 ------------- gpsbabel/cet/ibm865.h | 256 ------------- gpsbabel/cet/ibm868.h | 232 ------------ gpsbabel/cet/ibm869.h | 248 ------------- gpsbabel/cet/ibm871.h | 381 -------------------- gpsbabel/cet/ibm891.h | 108 ------ gpsbabel/cet/ibm903.h | 108 ------ gpsbabel/cet/ibm904.h | 131 ------- gpsbabel/cet/iec_p27_1.h | 220 ------------ gpsbabel/cet/iso_10367_box.h | 149 -------- gpsbabel/cet/iso_5427.h | 188 ---------- gpsbabel/cet/iso_646_irv.h | 127 ------- gpsbabel/cet/iso_6937_2_25.h | 166 --------- gpsbabel/cet/iso_8859_1.h | 111 ------ gpsbabel/cet/iso_8859_10.h | 172 --------- gpsbabel/cet/iso_8859_13.h | 175 --------- gpsbabel/cet/iso_8859_14.h | 157 -------- gpsbabel/cet/iso_8859_15.h | 133 ------- gpsbabel/cet/iso_8859_2.h | 183 ---------- gpsbabel/cet/iso_8859_3.h | 154 -------- gpsbabel/cet/iso_8859_4.h | 176 --------- gpsbabel/cet/iso_8859_5.h | 219 ------------ gpsbabel/cet/iso_8859_6.h | 173 --------- gpsbabel/cet/iso_8859_7.h | 199 ----------- gpsbabel/cet/iso_8859_8.h | 156 -------- gpsbabel/cet/iso_8859_9.h | 129 ------- gpsbabel/cet/iso_8859_supp.h | 212 ----------- gpsbabel/cet/it.h | 134 ------- gpsbabel/cet/jis_c6220_1969_ro.h | 120 ------- gpsbabel/cet/jis_x0201.h | 195 ---------- gpsbabel/cet/jus_i_b1_002.h | 131 ------- gpsbabel/cet/jus_i_b1_003_mac.h | 182 ---------- gpsbabel/cet/jus_i_b1_003_serb.h | 182 ---------- gpsbabel/cet/keybcs2.h | 256 ------------- gpsbabel/cet/koi8_r.h | 256 ------------- gpsbabel/cet/koi8_ru.h | 256 ------------- gpsbabel/cet/koi8_u.h | 238 ------------- gpsbabel/cet/koi_7.h | 156 -------- gpsbabel/cet/koi_8.h | 191 ---------- gpsbabel/cet/koi_8_cs2.h | 222 ------------ gpsbabel/cet/ksc5636.h | 118 ------ gpsbabel/cet/latin_greek_1.h | 136 ------- gpsbabel/cet/mac_is.h | 248 ------------- gpsbabel/cet/macintosh.h | 250 ------------- gpsbabel/cet/macintosh_ce.h | 254 ------------- gpsbabel/cet/msz_7795_3.h | 135 ------- gpsbabel/cet/nats_dano.h | 136 ------- gpsbabel/cet/nats_sefi.h | 130 ------- gpsbabel/cet/nc_nc00_10.h | 133 ------- gpsbabel/cet/nextstep.h | 240 ------------- gpsbabel/cet/nf_z_62_010.h | 135 ------- gpsbabel/cet/nf_z_62_010__1973_.h | 133 ------- gpsbabel/cet/ns_4551_1.h | 125 ------- gpsbabel/cet/ns_4551_2.h | 133 ------- gpsbabel/cet/pt.h | 128 ------- gpsbabel/cet/pt2.h | 127 ------- gpsbabel/cet/sami.h | 157 -------- gpsbabel/cet/sen_850200_b.h | 133 ------- gpsbabel/cet/sen_850200_c.h | 136 ------- gpsbabel/cet/tcvn.h | 278 --------------- gpsbabel/cet/viscii.h | 247 ------------- gpsbabel/cet/vps.h | 255 ------------- gpsbabel/cet_util.cc | 573 +----------------------------- gpsbabel/cet_util.h | 1 - gpsbabel/exif.cc | 19 +- gpsbabel/main.cc | 3 - gpsbabel/naviguide.cc | 3 +- 115 files changed, 10 insertions(+), 23738 deletions(-) delete mode 100644 gpsbabel/cet/atarist.h delete mode 100644 gpsbabel/cet/baltic.h delete mode 100644 gpsbabel/cet/bs_4730.h delete mode 100644 gpsbabel/cet/bs_viewdata.h delete mode 100644 gpsbabel/cet/cp1250.h delete mode 100644 gpsbabel/cet/cp1251.h delete mode 100644 gpsbabel/cet/cp1253.h delete mode 100644 gpsbabel/cet/cp1254.h delete mode 100644 gpsbabel/cet/cp1255.h delete mode 100644 gpsbabel/cet/cp1256.h delete mode 100644 gpsbabel/cet/cp1257.h delete mode 100644 gpsbabel/cet/csa_z243_4_1985_1.h delete mode 100644 gpsbabel/cet/csa_z243_4_1985_2.h delete mode 100644 gpsbabel/cet/csa_z243_4_1985_gr.h delete mode 100644 gpsbabel/cet/csn_369103.h delete mode 100644 gpsbabel/cet/cwi.h delete mode 100644 gpsbabel/cet/dec_mcs.h delete mode 100644 gpsbabel/cet/din_66003.h delete mode 100644 gpsbabel/cet/ds_2089.h delete mode 100644 gpsbabel/cet/ecma_cyrillic.h delete mode 100644 gpsbabel/cet/es.h delete mode 100644 gpsbabel/cet/es2.h delete mode 100644 gpsbabel/cet/gb_1988_80.h delete mode 100644 gpsbabel/cet/gost_19768_87.h delete mode 100644 gpsbabel/cet/hp_roman8.h delete mode 100644 gpsbabel/cet/ibm037.h delete mode 100644 gpsbabel/cet/ibm1004.h delete mode 100644 gpsbabel/cet/ibm1026.h delete mode 100644 gpsbabel/cet/ibm1047.h delete mode 100644 gpsbabel/cet/ibm256.h delete mode 100644 gpsbabel/cet/ibm273.h delete mode 100644 gpsbabel/cet/ibm277.h delete mode 100644 gpsbabel/cet/ibm278.h delete mode 100644 gpsbabel/cet/ibm280.h delete mode 100644 gpsbabel/cet/ibm284.h delete mode 100644 gpsbabel/cet/ibm285.h delete mode 100644 gpsbabel/cet/ibm297.h delete mode 100644 gpsbabel/cet/ibm437.h delete mode 100644 gpsbabel/cet/ibm500.h delete mode 100644 gpsbabel/cet/ibm850.h delete mode 100644 gpsbabel/cet/ibm851.h delete mode 100644 gpsbabel/cet/ibm852.h delete mode 100644 gpsbabel/cet/ibm855.h delete mode 100644 gpsbabel/cet/ibm857.h delete mode 100644 gpsbabel/cet/ibm860.h delete mode 100644 gpsbabel/cet/ibm861.h delete mode 100644 gpsbabel/cet/ibm862.h delete mode 100644 gpsbabel/cet/ibm863.h delete mode 100644 gpsbabel/cet/ibm864.h delete mode 100644 gpsbabel/cet/ibm865.h delete mode 100644 gpsbabel/cet/ibm868.h delete mode 100644 gpsbabel/cet/ibm869.h delete mode 100644 gpsbabel/cet/ibm871.h delete mode 100644 gpsbabel/cet/ibm891.h delete mode 100644 gpsbabel/cet/ibm903.h delete mode 100644 gpsbabel/cet/ibm904.h delete mode 100644 gpsbabel/cet/iec_p27_1.h delete mode 100644 gpsbabel/cet/iso_10367_box.h delete mode 100644 gpsbabel/cet/iso_5427.h delete mode 100644 gpsbabel/cet/iso_646_irv.h delete mode 100644 gpsbabel/cet/iso_6937_2_25.h delete mode 100644 gpsbabel/cet/iso_8859_1.h delete mode 100644 gpsbabel/cet/iso_8859_10.h delete mode 100644 gpsbabel/cet/iso_8859_13.h delete mode 100644 gpsbabel/cet/iso_8859_14.h delete mode 100644 gpsbabel/cet/iso_8859_15.h delete mode 100644 gpsbabel/cet/iso_8859_2.h delete mode 100644 gpsbabel/cet/iso_8859_3.h delete mode 100644 gpsbabel/cet/iso_8859_4.h delete mode 100644 gpsbabel/cet/iso_8859_5.h delete mode 100644 gpsbabel/cet/iso_8859_6.h delete mode 100644 gpsbabel/cet/iso_8859_7.h delete mode 100644 gpsbabel/cet/iso_8859_8.h delete mode 100644 gpsbabel/cet/iso_8859_9.h delete mode 100644 gpsbabel/cet/iso_8859_supp.h delete mode 100644 gpsbabel/cet/it.h delete mode 100644 gpsbabel/cet/jis_c6220_1969_ro.h delete mode 100644 gpsbabel/cet/jis_x0201.h delete mode 100644 gpsbabel/cet/jus_i_b1_002.h delete mode 100644 gpsbabel/cet/jus_i_b1_003_mac.h delete mode 100644 gpsbabel/cet/jus_i_b1_003_serb.h delete mode 100644 gpsbabel/cet/keybcs2.h delete mode 100644 gpsbabel/cet/koi8_r.h delete mode 100644 gpsbabel/cet/koi8_ru.h delete mode 100644 gpsbabel/cet/koi8_u.h delete mode 100644 gpsbabel/cet/koi_7.h delete mode 100644 gpsbabel/cet/koi_8.h delete mode 100644 gpsbabel/cet/koi_8_cs2.h delete mode 100644 gpsbabel/cet/ksc5636.h delete mode 100644 gpsbabel/cet/latin_greek_1.h delete mode 100644 gpsbabel/cet/mac_is.h delete mode 100644 gpsbabel/cet/macintosh.h delete mode 100644 gpsbabel/cet/macintosh_ce.h delete mode 100644 gpsbabel/cet/msz_7795_3.h delete mode 100644 gpsbabel/cet/nats_dano.h delete mode 100644 gpsbabel/cet/nats_sefi.h delete mode 100644 gpsbabel/cet/nc_nc00_10.h delete mode 100644 gpsbabel/cet/nextstep.h delete mode 100644 gpsbabel/cet/nf_z_62_010.h delete mode 100644 gpsbabel/cet/nf_z_62_010__1973_.h delete mode 100644 gpsbabel/cet/ns_4551_1.h delete mode 100644 gpsbabel/cet/ns_4551_2.h delete mode 100644 gpsbabel/cet/pt.h delete mode 100644 gpsbabel/cet/pt2.h delete mode 100644 gpsbabel/cet/sami.h delete mode 100644 gpsbabel/cet/sen_850200_b.h delete mode 100644 gpsbabel/cet/sen_850200_c.h delete mode 100644 gpsbabel/cet/tcvn.h delete mode 100644 gpsbabel/cet/viscii.h delete mode 100644 gpsbabel/cet/vps.h diff --git a/gpsbabel/cet/atarist.h b/gpsbabel/cet/atarist.h deleted file mode 100644 index b0403add4..000000000 --- a/gpsbabel/cet/atarist.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "AtariST" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef atarist_h -#define atarist_h - -#define cet_cs_name_atarist "AtariST" - -const char *cet_cs_alias_atarist[] = -{ - "AtariST", NULL -}; - -#define cet_ucs4_ofs_atarist 128 -#define cet_ucs4_cnt_atarist 128 - -const int cet_ucs4_map_atarist[cet_ucs4_cnt_atarist] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x00df, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x00e3, 0x00f5, 0x00d8, 0x00f8, 0x0153, 0x0152, 0x00c0, 0x00c3, - 0x00d5, 0x00a8, 0x00b4, 0x2020, 0x00b6, 0x00a9, 0x00ae, 0x2122, - 0x0133, 0x0132, 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, - 0x05d6, 0x05d7, 0x05d8, 0x05d9, 0x05db, 0x05dc, 0x05de, 0x05e0, - 0x05e1, 0x05e2, 0x05e4, 0x05e6, 0x05e7, 0x05e8, 0x05e9, 0x05ea, - 0x05df, 0x05da, 0x05dd, 0x05e3, 0x05e5, 0x00a7, 0x2038, 0x221e, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x03b8, 0x2126, 0x03b4, 0x222e, 0x03c6, 0x2208, 0x220f, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x2022, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x00b3, 0x00af -}; - -#define cet_ucs4_to_atarist_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_atarist_links[cet_ucs4_to_atarist_ct] = -{ - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a5, 0x9d} /* sign */, - {0x00a7, 0xdd} /* sign */, - {0x00a8, 0xb9} /* diaeresis */, - {0x00a9, 0xbd} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00ae, 0xbe} /* sign */, - {0x00af, 0xff} /* macron */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b3, 0xfe} /* three */, - {0x00b4, 0xba} /* accent */, - {0x00b5, 0xe6} /* sign */, - {0x00b6, 0xbc} /* sign */, - {0x00b7, 0xfa} /* dot */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c0, 0xb6} /* capital letter a with grave */, - {0x00c3, 0xb7} /* capital letter a with tilde */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d5, 0xb8} /* capital letter o with tilde */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d8, 0xb2} /* capital letter o with stroke */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0x9e} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e3, 0xb0} /* small letter a with tilde */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f5, 0xb1} /* small letter o with tilde */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f8, 0xb3} /* small letter o with stroke */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00ff, 0x98} /* small letter y with diaeresis */, - {0x0132, 0xc1} /* capital ligature ij */, - {0x0133, 0xc0} /* small ligature ij */, - {0x0152, 0xb5} /* capital ligature oe */, - {0x0153, 0xb4} /* small ligature oe */, - {0x0192, 0x9f} /* minuscule latine f hameçon */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b2, 0xe1} /* small letter beta */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b8, 0xe9} /* small letter theta */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x03c6, 0xed} /* small letter phi */, - {0x05d0, 0xc2} /* letter alef */, - {0x05d1, 0xc3} /* letter bet */, - {0x05d2, 0xc4} /* letter gimel */, - {0x05d3, 0xc5} /* letter dalet */, - {0x05d4, 0xc6} /* letter he */, - {0x05d5, 0xc7} /* letter vav */, - {0x05d6, 0xc8} /* letter zayin */, - {0x05d7, 0xc9} /* letter het */, - {0x05d8, 0xca} /* letter tet */, - {0x05d9, 0xcb} /* letter yod */, - {0x05da, 0xd9} /* letter final kaf */, - {0x05db, 0xcc} /* letter kaf */, - {0x05dc, 0xcd} /* letter lamed */, - {0x05dd, 0xda} /* letter final mem */, - {0x05de, 0xce} /* letter mem */, - {0x05df, 0xd8} /* letter final nun */, - {0x05e0, 0xcf} /* letter nun */, - {0x05e1, 0xd0} /* letter samekh */, - {0x05e2, 0xd1} /* letter ayin */, - {0x05e3, 0xdb} /* letter final pe */, - {0x05e4, 0xd2} /* letter pe */, - {0x05e5, 0xdc} /* letter final tsadi */, - {0x05e6, 0xd3} /* letter tsadi */, - {0x05e7, 0xd4} /* letter qof */, - {0x05e8, 0xd5} /* letter resh */, - {0x05e9, 0xd6} /* letter shin */, - {0x05ea, 0xd7} /* letter tav */, - {0x2020, 0xbb} /* dagger */, - {0x2022, 0xf9} /* puce */, - {0x2038, 0xde} /* caret */, - {0x207f, 0xfc} /* latin small letter n */, - {0x2122, 0xbf} /* mark sign */, - {0x2126, 0xea} /* sign */, - {0x2208, 0xee} /* of */, - {0x220f, 0xef} /* product */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xdf} /* infinity */, - {0x222e, 0xec} /* integral */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2310, 0xa9} /* not sign */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */ -}; - -/* -#define cet_ucs4_to_atarist_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_atarist_extra[cet_ucs4_to_atarist_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_atarist = /* defined in cet.h */ -{ - cet_cs_name_atarist, /* name of character set */ - cet_cs_alias_atarist, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_atarist, /* char to UCS-4 value table */ - cet_ucs4_ofs_atarist, /* first non standard character */ - cet_ucs4_cnt_atarist, /* number of values in table */ - - cet_ucs4_to_atarist_links, /* UCS-4 to char links */ - cet_ucs4_to_atarist_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int atarist_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x00df, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x00e3, 0x00f5, 0x00d8, 0x00f8, 0x0153, 0x0152, 0x00c0, 0x00c3, - 0x00d5, 0x00a8, 0x00b4, 0x2020, 0x00b6, 0x00a9, 0x00ae, 0x2122, - 0x0133, 0x0132, 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, - 0x05d6, 0x05d7, 0x05d8, 0x05d9, 0x05db, 0x05dc, 0x05de, 0x05e0, - 0x05e1, 0x05e2, 0x05e4, 0x05e6, 0x05e7, 0x05e8, 0x05e9, 0x05ea, - 0x05df, 0x05da, 0x05dd, 0x05e3, 0x05e5, 0x00a7, 0x2038, 0x221e, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x03b8, 0x2126, 0x03b4, 0x222e, 0x03c6, 0x2208, 0x220f, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x2022, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x00b3, 0x00af -}; -*/ - -#endif diff --git a/gpsbabel/cet/baltic.h b/gpsbabel/cet/baltic.h deleted file mode 100644 index fdc436294..000000000 --- a/gpsbabel/cet/baltic.h +++ /dev/null @@ -1,178 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "baltic" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef baltic_h -#define baltic_h - -#define cet_cs_name_baltic "baltic" - -const char *cet_cs_alias_baltic[] = -{ - "baltic", "iso-ir-179", NULL -}; - -#define cet_ucs4_ofs_baltic 161 -#define cet_ucs4_cnt_baltic 95 - -const int cet_ucs4_map_baltic[cet_ucs4_cnt_baltic] = -{ - 0x201d, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, 0x00d8, - 0x00a9, 0x201e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00c6, 0x00b0, - 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, 0x00f8, - 0x00b9, 0x201c, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00e6, 0x012e, - 0x0116, 0x0100, 0x0106, 0x00c4, 0x00c5, 0x0104, 0x010c, 0x0122, - 0x00c9, 0x017d, 0x0118, 0x0112, 0x0136, 0x012a, 0x013b, 0x0141, - 0x0145, 0x0143, 0x00d3, 0x014c, 0x00d5, 0x00d6, 0x00d7, 0x0172, - 0x0160, 0x015a, 0x016a, 0x00dc, 0x017b, 0x0179, 0x00df, 0x012f, - 0x0117, 0x0101, 0x0107, 0x00e4, 0x00e5, 0x0105, 0x010d, 0x0123, - 0x00e9, 0x017e, 0x0119, 0x0113, 0x0137, 0x012b, 0x013c, 0x0142, - 0x0146, 0x0144, 0x00f3, 0x014d, 0x00f5, 0x00f6, 0x00f7, 0x0173, - 0x0161, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017a, 0x0138 -}; - -#define cet_ucs4_to_baltic_ct 54 - -const cet_ucs4_link_t cet_ucs4_to_baltic_links[cet_ucs4_to_baltic_ct] = -{ - {0x00c6, 0xaf} /* capital letter ae */, - {0x00d8, 0xa8} /* capital letter o with stroke */, - {0x00e6, 0xbf} /* small letter ae */, - {0x00f8, 0xb8} /* small letter o with stroke */, - {0x0100, 0xc2} /* capital letter a with macron */, - {0x0101, 0xe2} /* small letter a with macron */, - {0x0104, 0xc6} /* capital letter a with ogonek */, - {0x0105, 0xe6} /* small letter a with ogonek */, - {0x0106, 0xc3} /* capital letter c with acute */, - {0x0107, 0xe3} /* small letter c with acute */, - {0x010c, 0xc7} /* capital letter c with caron */, - {0x010d, 0xe7} /* small letter c with caron */, - {0x0112, 0xcc} /* capital letter e with macron */, - {0x0113, 0xec} /* small letter e with macron */, - {0x0116, 0xc1} /* capital letter e with dot above */, - {0x0117, 0xe1} /* small letter e with dot above */, - {0x0118, 0xcb} /* capital letter e with ogonek */, - {0x0119, 0xeb} /* small letter e with ogonek */, - {0x0122, 0xc8} /* capital letter g with cedilla */, - {0x0123, 0xe8} /* small letter g with cedilla */, - {0x012a, 0xce} /* capital letter i with macron */, - {0x012b, 0xee} /* small letter i with macron */, - {0x012e, 0xc0} /* capital letter i with ogonek */, - {0x012f, 0xe0} /* small letter i with ogonek */, - {0x0136, 0xcd} /* capital letter k with cedilla */, - {0x0137, 0xed} /* small letter k with cedilla */, - {0x0138, 0xff} /* small letter kra (greenlandic) */, - {0x013b, 0xcf} /* capital letter l with cedilla */, - {0x013c, 0xef} /* small letter l with cedilla */, - {0x0141, 0xd0} /* capital letter l with stroke */, - {0x0142, 0xf0} /* small letter l with stroke */, - {0x0143, 0xd2} /* capital letter n with acute */, - {0x0144, 0xf2} /* small letter n with acute */, - {0x0145, 0xd1} /* capital letter n with cedilla */, - {0x0146, 0xf1} /* small letter n with cedilla */, - {0x014c, 0xd4} /* capital letter o with macron */, - {0x014d, 0xf4} /* small letter o with macron */, - {0x015a, 0xda} /* capital letter s with acute */, - {0x015b, 0xfa} /* small letter s with acute */, - {0x0160, 0xd9} /* capital letter s with caron */, - {0x0161, 0xf9} /* small letter s with caron */, - {0x016a, 0xdb} /* capital letter u with macron */, - {0x016b, 0xfb} /* small letter u with macron */, - {0x0172, 0xd8} /* capital letter u with ogonek */, - {0x0173, 0xf8} /* small letter u with ogonek */, - {0x0179, 0xde} /* capital letter z with acute */, - {0x017a, 0xfe} /* small letter z with acute */, - {0x017b, 0xdd} /* capital letter z with dot above */, - {0x017c, 0xfd} /* small letter z with dot above */, - {0x017d, 0xca} /* capital letter z with caron */, - {0x017e, 0xea} /* small letter z with caron */, - {0x201c, 0xba} /* double quotation mark */, - {0x201d, 0xa1} /* double quotation mark */, - {0x201e, 0xaa} /* low-9 quotation mark */ -}; - -/* -#define cet_ucs4_to_baltic_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_baltic_extra[cet_ucs4_to_baltic_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_baltic = /* defined in cet.h */ -{ - cet_cs_name_baltic, /* name of character set */ - cet_cs_alias_baltic, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_baltic, /* char to UCS-4 value table */ - cet_ucs4_ofs_baltic, /* first non standard character */ - cet_ucs4_cnt_baltic, /* number of values in table */ - - cet_ucs4_to_baltic_links, /* UCS-4 to char links */ - cet_ucs4_to_baltic_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int baltic_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x201d, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00d8, 0x00a9, 0x201e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00c6, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00f8, 0x00b9, 0x201c, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00e6, - 0x012e, 0x0116, 0x0100, 0x0106, 0x00c4, 0x00c5, 0x0104, 0x010c, - 0x0122, 0x00c9, 0x017d, 0x0118, 0x0112, 0x0136, 0x012a, 0x013b, - 0x0141, 0x0145, 0x0143, 0x00d3, 0x014c, 0x00d5, 0x00d6, 0x00d7, - 0x0172, 0x0160, 0x015a, 0x016a, 0x00dc, 0x017b, 0x0179, 0x00df, - 0x012f, 0x0117, 0x0101, 0x0107, 0x00e4, 0x00e5, 0x0105, 0x010d, - 0x0123, 0x00e9, 0x017e, 0x0119, 0x0113, 0x0137, 0x012b, 0x013c, - 0x0142, 0x0146, 0x0144, 0x00f3, 0x014d, 0x00f5, 0x00f6, 0x00f7, - 0x0173, 0x0161, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017a, 0x0138 -}; -*/ - -#endif diff --git a/gpsbabel/cet/bs_4730.h b/gpsbabel/cet/bs_4730.h deleted file mode 100644 index 1aea8fecf..000000000 --- a/gpsbabel/cet/bs_4730.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "BS_4730" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef bs_4730_h -#define bs_4730_h - -#define cet_cs_name_bs_4730 "BS_4730" - -const char *cet_cs_alias_bs_4730[] = -{ - "BS_4730", "gb", "ISO646-GB", "iso-ir-4", - "uk", NULL -}; - -#define cet_ucs4_ofs_bs_4730 35 -#define cet_ucs4_cnt_bs_4730 93 - -const int cet_ucs4_map_bs_4730[cet_ucs4_cnt_bs_4730] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x007b, 0x007c, 0x007d, 0x203e, 0x007f -}; - -#define cet_ucs4_to_bs_4730_ct 2 - -const cet_ucs4_link_t cet_ucs4_to_bs_4730_links[cet_ucs4_to_bs_4730_ct] = -{ - {0x00a3, 0x23} /* sign */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_bs_4730_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_bs_4730_extra[cet_ucs4_to_bs_4730_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_bs_4730 = /* defined in cet.h */ -{ - cet_cs_name_bs_4730, /* name of character set */ - cet_cs_alias_bs_4730, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_bs_4730, /* char to UCS-4 value table */ - cet_ucs4_ofs_bs_4730, /* first non standard character */ - cet_ucs4_cnt_bs_4730, /* number of values in table */ - - cet_ucs4_to_bs_4730_links, /* UCS-4 to char links */ - cet_ucs4_to_bs_4730_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int bs_4730_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/bs_viewdata.h b/gpsbabel/cet/bs_viewdata.h deleted file mode 100644 index b8f450f28..000000000 --- a/gpsbabel/cet/bs_viewdata.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "BS_viewdata" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef bs_viewdata_h -#define bs_viewdata_h - -#define cet_cs_name_bs_viewdata "BS_viewdata" - -const char *cet_cs_alias_bs_viewdata[] = -{ - "BS_viewdata", "iso-ir-47", NULL -}; - -#define cet_ucs4_ofs_bs_viewdata 35 -#define cet_ucs4_cnt_bs_viewdata 93 - -const int cet_ucs4_map_bs_viewdata[cet_ucs4_cnt_bs_viewdata] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x2190, 0x00bd, 0x2192, 0x2191, 0x25a1, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00bc, 0x2225, 0x00be, 0x00f7, 0x007f -}; - -#define cet_ucs4_to_bs_viewdata_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_bs_viewdata_links[cet_ucs4_to_bs_viewdata_ct] = -{ - {0x00a3, 0x23} /* sign */, - {0x00bc, 0x7b} /* fraction one quarter */, - {0x00bd, 0x5c} /* fraction one half */, - {0x00be, 0x7d} /* fraction three quarters */, - {0x00f7, 0x7e} /* sign */, - {0x2190, 0x5b} /* arrow */, - {0x2191, 0x5e} /* arrow */, - {0x2192, 0x5d} /* arrow */, - {0x2225, 0x7c} /* to */, - {0x25a1, 0x5f} /* square */ -}; - -/* -#define cet_ucs4_to_bs_viewdata_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_bs_viewdata_extra[cet_ucs4_to_bs_viewdata_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_bs_viewdata = /* defined in cet.h */ -{ - cet_cs_name_bs_viewdata, /* name of character set */ - cet_cs_alias_bs_viewdata, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_bs_viewdata, /* char to UCS-4 value table */ - cet_ucs4_ofs_bs_viewdata, /* first non standard character */ - cet_ucs4_cnt_bs_viewdata, /* number of values in table */ - - cet_ucs4_to_bs_viewdata_links, /* UCS-4 to char links */ - cet_ucs4_to_bs_viewdata_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int bs_viewdata_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x2190, 0x00bd, 0x2192, 0x2191, 0x25a1, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00bc, 0x2225, 0x00be, 0x00f7, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1250.h b/gpsbabel/cet/cp1250.h deleted file mode 100644 index 4c11b598d..000000000 --- a/gpsbabel/cet/cp1250.h +++ /dev/null @@ -1,266 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1250" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1250_h -#define cp1250_h - -#define cet_cs_name_cp1250 "CP1250" - -const char *cet_cs_alias_cp1250[] = -{ - "CP1250", "1250", "ms-ee", "windows-1250", "WIN-CP1250", - NULL -}; - -#define cet_ucs4_ofs_cp1250 128 -#define cet_ucs4_cnt_cp1250 128 - -const int cet_ucs4_map_cp1250[cet_ucs4_cnt_cp1250] = -{ - 0x20ac, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, 0x0161, 0x203a, 0x015b, 0x0165, 0x017e, 0x017a, - 0x00a0, 0x02c7, 0x02d8, 0x0141, 0x00a4, 0x0104, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x015e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x017b, - 0x00b0, 0x00b1, 0x02db, 0x0142, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x0105, 0x015f, 0x00bb, 0x013d, 0x02dd, 0x013e, 0x017c, - 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, - 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, - 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, - 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, - 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, - 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; - -#define cet_ucs4_to_cp1250_ct 74 - -const cet_ucs4_link_t cet_ucs4_to_cp1250_links[cet_ucs4_to_cp1250_ct] = -{ - {0x0102, 0xc3} /* capital letter a with breve */, - {0x0103, 0xe3} /* small letter a with breve */, - {0x0104, 0xa5} /* capital letter a with ogonek */, - {0x0105, 0xb9} /* small letter a with ogonek */, - {0x0106, 0xc6} /* capital letter c with acute */, - {0x0107, 0xe6} /* small letter c with acute */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x010e, 0xcf} /* capital letter d with caron */, - {0x010f, 0xef} /* small letter d with caron */, - {0x0110, 0xd0} /* capital letter d with stroke */, - {0x0111, 0xf0} /* small letter d with stroke */, - {0x0118, 0xca} /* capital letter e with ogonek */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x011a, 0xcc} /* capital letter e with caron */, - {0x011b, 0xec} /* small letter e with caron */, - {0x0139, 0xc5} /* capital letter l with acute */, - {0x013a, 0xe5} /* small letter l with acute */, - {0x013d, 0xbc} /* capital letter l with caron */, - {0x013e, 0xbe} /* small letter l with caron */, - {0x0141, 0xa3} /* capital letter l with stroke */, - {0x0142, 0xb3} /* small letter l with stroke */, - {0x0143, 0xd1} /* capital letter n with acute */, - {0x0144, 0xf1} /* small letter n with acute */, - {0x0147, 0xd2} /* capital letter n with caron */, - {0x0148, 0xf2} /* small letter n with caron */, - {0x0150, 0xd5} /* capital letter o with double acute */, - {0x0151, 0xf5} /* small letter o with double acute */, - {0x0154, 0xc0} /* capital letter r with acute */, - {0x0155, 0xe0} /* small letter r with acute */, - {0x0158, 0xd8} /* capital letter r with caron */, - {0x0159, 0xf8} /* small letter r with caron */, - {0x015a, 0x8c} /* capital letter s with acute */, - {0x015b, 0x9c} /* small letter s with acute */, - {0x015e, 0xaa} /* capital letter s with cedilla */, - {0x015f, 0xba} /* small letter s with cedilla */, - {0x0160, 0x8a} /* capital letter s with caron */, - {0x0161, 0x9a} /* small letter s with caron */, - {0x0162, 0xde} /* capital letter t with cedilla */, - {0x0163, 0xfe} /* small letter t with cedilla */, - {0x0164, 0x8d} /* capital letter t with caron */, - {0x0165, 0x9d} /* small letter t with caron */, - {0x016e, 0xd9} /* capital letter u with ring above */, - {0x016f, 0xf9} /* small letter u with ring above */, - {0x0170, 0xdb} /* capital letter u with double acute */, - {0x0171, 0xfb} /* small letter u with double acute */, - {0x0179, 0x8f} /* capital letter z with acute */, - {0x017a, 0x9f} /* small letter z with acute */, - {0x017b, 0xaf} /* capital letter z with dot above */, - {0x017c, 0xbf} /* small letter z with dot above */, - {0x017d, 0x8e} /* capital letter z with caron */, - {0x017e, 0x9e} /* small letter z with caron */, - {0x02c7, 0xa1} /* caron */, - {0x02d8, 0xa2} /* breve */, - {0x02d9, 0xff} /* above */, - {0x02db, 0xb2} /* ogonek */, - {0x02dd, 0xbd} /* acute accent */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1250.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1250_extra[] = -{ - {0x0189, 0xd0} /* latin capital letter african d */, - {0x02bb, 0x91} /* modifier letter turned comma */, - {0x02c9, 0xaf} /* modifier letter macron */, - {0x02ca, 0xb4} /* modifier letter acute accent */, - {0x02da, 0xb0} /* ring above */, - {0x0301, 0xb4} /* combining acute accent */, - {0x0304, 0xaf} /* combining macron */, - {0x0305, 0xaf} /* combining overline */, - {0x0306, 0xa2} /* combining breve */, - {0x0307, 0xff} /* combining dot above */, - {0x0308, 0xa8} /* combining diaeresis */, - {0x030a, 0xb0} /* combining ring above */, - {0x030c, 0xa1} /* combining caron */, - {0x0327, 0xb8} /* combining cedilla */, - {0x03b2, 0xdf} /* greek small letter beta */, - {0x03bc, 0xb5} /* greek small letter mu */, - {0x2024, 0x95} /* one dot leader */, - {0x2033, 0x94} /* double prime */, - {0x2070, 0xb0} /* superscript zero */, - {0x20a4, 0xa3} /* lira sign */, - {0x212b, 0xc5} /* angstrom sign */, - {0x2190, 0x8b} /* leftwards arrow */, - {0x2192, 0x9b} /* rightwards arrow */, - {0x2193, 0xa1} /* downwards arrow */, - {0x2205, 0xd8} /* empty set */, - {0x2213, 0xb1} /* minus-or-plus sign */, - {0x2218, 0xb0} /* ring operator */, - {0x2219, 0x95} /* bullet operator */, - {0x226a, 0xab} /* much less-than */, - {0x226b, 0xbb} /* much greater-than */, - {0x22c5, 0xb7} /* dot operator */, - {0x2302, 0xa6} /* house */, - {0x2500, 0xa6} /* box drawings light horizontal */, - {0x2510, 0xac} /* box drawings light down and left */, - {0x2551, 0xa6} /* box drawings double vertical */, - {0x2557, 0xac} /* box drawings double down and left */, - {0x2560, 0xa6} /* box drawings double vertical and right */, - {0x2563, 0xa6} /* box drawings double vertical and left */, - {0x2569, 0xa6} /* box drawings double up and horizontal */, - {0x25a0, 0xa6} /* black square */, - {0x25bc, 0xa1} /* black down-pointing triangle */, - {0x25d8, 0x95} /* inverse bullet */, - {0x263a, 0xa2} /* white smiling face */, - {0x263b, 0xa2} /* black smiling face */, - {0x2660, 0xa6} /* black spade suit */, - {0x2663, 0xa6} /* black club suit */, - {0x2665, 0xa6} /* black heart suit */, - {0x2666, 0xa6} /* black diamond suit */, - {0x275b, 0x91} /* heavy single turned comma quotation mark ornament */, - {0x275c, 0x92} /* heavy single comma quotation mark ornament */, - {0x275d, 0x93} /* heavy double turned comma quotation mark ornament */, - {0x275e, 0x94} /* heavy double comma quotation mark ornament */, - {0x300a, 0xab} /* left double angle bracket */, - {0x300b, 0xbb} /* right double angle bracket */, - {0x301d, 0x93} /* reversed double prime quotation mark */, - {0x301e, 0x94} /* double prime quotation mark */, - {0x301f, 0x84} /* low double prime quotation mark */, - {0x30fb, 0xb7} /* katakana middle dot */, - {0x30fc, 0x97} /* katakana-hiragana prolonged sound mark */ -}; - -#define cet_ucs4_to_cp1250_extra_ct sizeof(cet_ucs4_to_cp1250_extra) / sizeof(cet_ucs4_to_cp1250_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1250 = /* defined in cet.h */ -{ - cet_cs_name_cp1250, /* name of character set */ - cet_cs_alias_cp1250, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1250, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1250, /* first non standard character */ - cet_ucs4_cnt_cp1250, /* number of values in table */ - - cet_ucs4_to_cp1250_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1250_ct, /* number of links */ - - cet_ucs4_to_cp1250_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1250_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1250_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, 0x0161, 0x203a, 0x015b, 0x0165, 0x017e, 0x017a, - 0x00a0, 0x02c7, 0x02d8, 0x0141, 0x00a4, 0x0104, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x015e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x017b, - 0x00b0, 0x00b1, 0x02db, 0x0142, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x0105, 0x015f, 0x00bb, 0x013d, 0x02dd, 0x013e, 0x017c, - 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, - 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, - 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, - 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, - 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, - 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1251.h b/gpsbabel/cet/cp1251.h deleted file mode 100644 index 4fd0349ac..000000000 --- a/gpsbabel/cet/cp1251.h +++ /dev/null @@ -1,275 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1251" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1251_h -#define cp1251_h - -#define cet_cs_name_cp1251 "CP1251" - -const char *cet_cs_alias_cp1251[] = -{ - "CP1251", "1251", "ms-cyrl", "windows-1251", "WIN-CP1251", - NULL -}; - -#define cet_ucs4_ofs_cp1251 128 -#define cet_ucs4_cnt_cp1251 128 - -const int cet_ucs4_map_cp1251[cet_ucs4_cnt_cp1251] = -{ - 0x0402, 0x0403, 0x201a, 0x0453, 0x201e, 0x2026, 0x2020, 0x2021, - 0x20ac, 0x2030, 0x0409, 0x2039, 0x040a, 0x040c, 0x040b, 0x040f, - 0x0452, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, 0x0459, 0x203a, 0x045a, 0x045c, 0x045b, 0x045f, - 0x00a0, 0x040e, 0x045e, 0x0408, 0x00a4, 0x0490, 0x00a6, 0x00a7, - 0x0401, 0x00a9, 0x0404, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x0407, - 0x00b0, 0x00b1, 0x0406, 0x0456, 0x0491, 0x00b5, 0x00b6, 0x00b7, - 0x0451, 0x2116, 0x0454, 0x00bb, 0x0458, 0x0405, 0x0455, 0x0457, - 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, - 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, - 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, - 0x0428, 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, - 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, - 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, - 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, - 0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f -}; - -#define cet_ucs4_to_cp1251_ct 112 - -const cet_ucs4_link_t cet_ucs4_to_cp1251_links[cet_ucs4_to_cp1251_ct] = -{ - {0x0401, 0xa8} /* capital letter io */, - {0x0402, 0x80} /* capital letter dje (serbocroatian) */, - {0x0403, 0x81} /* capital letter gje (macedonian) */, - {0x0404, 0xaa} /* capital letter ukrainian ie */, - {0x0405, 0xbd} /* capital letter dze (macedonian) */, - {0x0406, 0xb2} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0xaf} /* capital letter yi (ukrainian) */, - {0x0408, 0xa3} /* capital letter je */, - {0x0409, 0x8a} /* capital letter lje */, - {0x040a, 0x8c} /* capital letter nje */, - {0x040b, 0x8e} /* capital letter tshe (serbocroatian) */, - {0x040c, 0x8d} /* capital letter kje (macedonian) */, - {0x040e, 0xa1} /* capital letter short u (byelorussian) */, - {0x040f, 0x8f} /* capital letter dzhe */, - {0x0410, 0xc0} /* capital letter a */, - {0x0411, 0xc1} /* capital letter be */, - {0x0412, 0xc2} /* capital letter ve */, - {0x0413, 0xc3} /* capital letter ghe */, - {0x0414, 0xc4} /* capital letter de */, - {0x0415, 0xc5} /* capital letter ie */, - {0x0416, 0xc6} /* capital letter zhe */, - {0x0417, 0xc7} /* capital letter ze */, - {0x0418, 0xc8} /* capital letter i */, - {0x0419, 0xc9} /* capital letter short i */, - {0x041a, 0xca} /* capital letter ka */, - {0x041b, 0xcb} /* capital letter el */, - {0x041c, 0xcc} /* capital letter em */, - {0x041d, 0xcd} /* capital letter en */, - {0x041e, 0xce} /* capital letter o */, - {0x041f, 0xcf} /* capital letter pe */, - {0x0420, 0xd0} /* capital letter er */, - {0x0421, 0xd1} /* capital letter es */, - {0x0422, 0xd2} /* capital letter te */, - {0x0423, 0xd3} /* capital letter u */, - {0x0424, 0xd4} /* capital letter ef */, - {0x0425, 0xd5} /* capital letter ha */, - {0x0426, 0xd6} /* capital letter tse */, - {0x0427, 0xd7} /* capital letter che */, - {0x0428, 0xd8} /* capital letter sha */, - {0x0429, 0xd9} /* capital letter shcha */, - {0x042a, 0xda} /* capital letter hard sign */, - {0x042b, 0xdb} /* capital letter yeru */, - {0x042c, 0xdc} /* capital letter soft sign */, - {0x042d, 0xdd} /* capital letter e */, - {0x042e, 0xde} /* capital letter yu */, - {0x042f, 0xdf} /* capital letter ya */, - {0x0430, 0xe0} /* small letter a */, - {0x0431, 0xe1} /* small letter be */, - {0x0432, 0xe2} /* small letter ve */, - {0x0433, 0xe3} /* small letter ghe */, - {0x0434, 0xe4} /* small letter de */, - {0x0435, 0xe5} /* small letter ie */, - {0x0436, 0xe6} /* small letter zhe */, - {0x0437, 0xe7} /* small letter ze */, - {0x0438, 0xe8} /* small letter i */, - {0x0439, 0xe9} /* small letter short i */, - {0x043a, 0xea} /* small letter ka */, - {0x043b, 0xeb} /* small letter el */, - {0x043c, 0xec} /* small letter em */, - {0x043d, 0xed} /* small letter en */, - {0x043e, 0xee} /* small letter o */, - {0x043f, 0xef} /* small letter pe */, - {0x0440, 0xf0} /* small letter er */, - {0x0441, 0xf1} /* small letter es */, - {0x0442, 0xf2} /* small letter te */, - {0x0443, 0xf3} /* small letter u */, - {0x0444, 0xf4} /* small letter ef */, - {0x0445, 0xf5} /* small letter ha */, - {0x0446, 0xf6} /* small letter tse */, - {0x0447, 0xf7} /* small letter che */, - {0x0448, 0xf8} /* small letter sha */, - {0x0449, 0xf9} /* small letter shcha */, - {0x044a, 0xfa} /* small letter hard sign */, - {0x044b, 0xfb} /* small letter yeru */, - {0x044c, 0xfc} /* small letter soft sign */, - {0x044d, 0xfd} /* small letter e */, - {0x044e, 0xfe} /* small letter yu */, - {0x044f, 0xff} /* small letter ya */, - {0x0451, 0xb8} /* small letter io */, - {0x0452, 0x90} /* small letter dje (serbocroatian) */, - {0x0453, 0x83} /* small letter gje (macedonian) */, - {0x0454, 0xba} /* small letter ukrainian ie */, - {0x0455, 0xbe} /* small letter dze (macedonian) */, - {0x0456, 0xb3} /* small letter byelorussian-ukrainian i */, - {0x0457, 0xbf} /* small letter yi (ukrainian) */, - {0x0458, 0xbc} /* small letter je */, - {0x0459, 0x9a} /* small letter lje */, - {0x045a, 0x9c} /* small letter nje */, - {0x045b, 0x9e} /* small letter tshe (serbocroatian) */, - {0x045c, 0x9d} /* small letter kje (macedonian) */, - {0x045e, 0xa2} /* small letter short u (byelorussian) */, - {0x045f, 0x9f} /* small letter dzhe */, - {0x0490, 0xa5} /* capital letter ghe with upturn */, - {0x0491, 0xb4} /* small letter ghe with upturn */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x88} /* euro */, - {0x2116, 0xb9} /* sign */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1251.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1251_extra[] = -{ - {0x2195, 0xa6} /* up down arrow */, - {0x21a8, 0xa6} /* up down arrow with base */, - {0x2219, 0x95} /* bullet operator */, - {0x2302, 0xa6} /* house */, - {0x2502, 0xa6} /* box drawings light vertical */, - {0x2510, 0xac} /* box drawings light down and left */, - {0x2551, 0xa6} /* box drawings double vertical */, - {0x2553, 0xe3} /* box drawings down double and right single */, - {0x2554, 0xe3} /* box drawings double down and right */, - {0x2555, 0xac} /* box drawings down single and left double */, - {0x2556, 0xac} /* box drawings down double and left single */, - {0x2557, 0xac} /* box drawings double down and left */, - {0x255e, 0xa6} /* box drawings vertical single and right double */, - {0x255f, 0xa6} /* box drawings vertical double and right single */, - {0x2560, 0xa6} /* box drawings double vertical and right */, - {0x2561, 0xa6} /* box drawings vertical single and left double */, - {0x2562, 0xa6} /* box drawings vertical double and left single */, - {0x2563, 0xa6} /* box drawings double vertical and left */, - {0x2567, 0xa6} /* box drawings up single and horizontal double */, - {0x2568, 0xa6} /* box drawings up double and horizontal single */, - {0x2569, 0xa6} /* box drawings double up and horizontal */, - {0x258c, 0xa6} /* left half block */, - {0x2590, 0xa6} /* right half block */, - {0x25a0, 0xa6} /* black square */, - {0x25bc, 0xa1} /* black down-pointing triangle */, - {0x25d8, 0x95} /* inverse bullet */, - {0x2660, 0xa6} /* black spade suit */, - {0x2663, 0xa6} /* black club suit */, - {0x2665, 0xa6} /* black heart suit */, - {0x2666, 0xa6} /* black diamond suit */ -}; - -#define cet_ucs4_to_cp1251_extra_ct sizeof(cet_ucs4_to_cp1251_extra) / sizeof(cet_ucs4_to_cp1251_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1251 = /* defined in cet.h */ -{ - cet_cs_name_cp1251, /* name of character set */ - cet_cs_alias_cp1251, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1251, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1251, /* first non standard character */ - cet_ucs4_cnt_cp1251, /* number of values in table */ - - cet_ucs4_to_cp1251_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1251_ct, /* number of links */ - - cet_ucs4_to_cp1251_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1251_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1251_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0402, 0x0403, 0x201a, 0x0453, 0x201e, 0x2026, 0x2020, 0x2021, - 0x20ac, 0x2030, 0x0409, 0x2039, 0x040a, 0x040c, 0x040b, 0x040f, - 0x0452, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, 0x0459, 0x203a, 0x045a, 0x045c, 0x045b, 0x045f, - 0x00a0, 0x040e, 0x045e, 0x0408, 0x00a4, 0x0490, 0x00a6, 0x00a7, - 0x0401, 0x00a9, 0x0404, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x0407, - 0x00b0, 0x00b1, 0x0406, 0x0456, 0x0491, 0x00b5, 0x00b6, 0x00b7, - 0x0451, 0x2116, 0x0454, 0x00bb, 0x0458, 0x0405, 0x0455, 0x0457, - 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, - 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, - 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, - 0x0428, 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, - 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, - 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, - 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, - 0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1253.h b/gpsbabel/cet/cp1253.h deleted file mode 100644 index 7f4a1b7f9..000000000 --- a/gpsbabel/cet/cp1253.h +++ /dev/null @@ -1,242 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1253" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1253_h -#define cp1253_h - -#define cet_cs_name_cp1253 "CP1253" - -const char *cet_cs_alias_cp1253[] = -{ - "CP1253", "1253", "ms-greek", "windows-1253", "WIN-CP1253", - NULL -}; - -#define cet_ucs4_ofs_cp1253 128 -#define cet_ucs4_cnt_cp1253 127 - -const int cet_ucs4_map_cp1253[cet_ucs4_cnt_cp1253] = -{ - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, 0x0385, 0x0386, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, -1, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x2015, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x0384, 0x00b5, 0x00b6, 0x00b7, - 0x0388, 0x0389, 0x038a, 0x00bb, 0x038c, 0x00bd, 0x038e, 0x038f, - 0x0390, 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, - 0x0398, 0x0399, 0x039a, 0x039b, 0x039c, 0x039d, 0x039e, 0x039f, - 0x03a0, 0x03a1, -1, 0x03a3, 0x03a4, 0x03a5, 0x03a6, 0x03a7, - 0x03a8, 0x03a9, 0x03aa, 0x03ab, 0x03ac, 0x03ad, 0x03ae, 0x03af, - 0x03b0, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, - 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf, - 0x03c0, 0x03c1, 0x03c2, 0x03c3, 0x03c4, 0x03c5, 0x03c6, 0x03c7, - 0x03c8, 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce -}; - -#define cet_ucs4_to_cp1253_ct 90 - -const cet_ucs4_link_t cet_ucs4_to_cp1253_links[cet_ucs4_to_cp1253_ct] = -{ - {0x0192, 0x83} /* minuscule latine f hameçon */, - {0x0384, 0xb4} /* grec tonos */, - {0x0385, 0xa1} /* accent and diaeresis (tonos and dialytika) */, - {0x0386, 0xa2} /* capital letter alpha with acute */, - {0x0388, 0xb8} /* capital letter epsilon with acute */, - {0x0389, 0xb9} /* capital letter eta with acute */, - {0x038a, 0xba} /* capital letter iota with acute */, - {0x038c, 0xbc} /* capital letter omicron with acute */, - {0x038e, 0xbe} /* capital letter upsilon with acute */, - {0x038f, 0xbf} /* capital letter omega with acute */, - {0x0390, 0xc0} /* small letter iota with acute and diaeresis */, - {0x0391, 0xc1} /* capital letter alpha */, - {0x0392, 0xc2} /* capital letter beta */, - {0x0393, 0xc3} /* capital letter gamma */, - {0x0394, 0xc4} /* capital letter delta */, - {0x0395, 0xc5} /* capital letter epsilon */, - {0x0396, 0xc6} /* capital letter zeta */, - {0x0397, 0xc7} /* capital letter eta */, - {0x0398, 0xc8} /* capital letter theta */, - {0x0399, 0xc9} /* capital letter iota */, - {0x039a, 0xca} /* capital letter kappa */, - {0x039b, 0xcb} /* capital letter lamda */, - {0x039c, 0xcc} /* capital letter mu */, - {0x039d, 0xcd} /* capital letter nu */, - {0x039e, 0xce} /* capital letter xi */, - {0x039f, 0xcf} /* capital letter omicron */, - {0x03a0, 0xd0} /* capital letter pi */, - {0x03a1, 0xd1} /* capital letter rho */, - {0x03a3, 0xd3} /* capital letter sigma */, - {0x03a4, 0xd4} /* capital letter tau */, - {0x03a5, 0xd5} /* capital letter upsilon */, - {0x03a6, 0xd6} /* capital letter phi */, - {0x03a7, 0xd7} /* capital letter chi */, - {0x03a8, 0xd8} /* capital letter psi */, - {0x03a9, 0xd9} /* capital letter omega */, - {0x03aa, 0xda} /* capital letter iota with diaeresis */, - {0x03ab, 0xdb} /* capital letter upsilon with diaeresis */, - {0x03ac, 0xdc} /* small letter alpha with acute */, - {0x03ad, 0xdd} /* small letter epsilon with acute */, - {0x03ae, 0xde} /* small letter eta with acute */, - {0x03af, 0xdf} /* small letter iota with acute */, - {0x03b0, 0xe0} /* small letter upsilon with acute and diaeresis */, - {0x03b1, 0xe1} /* small letter alpha */, - {0x03b2, 0xe2} /* small letter beta */, - {0x03b3, 0xe3} /* small letter gamma */, - {0x03b4, 0xe4} /* small letter delta */, - {0x03b5, 0xe5} /* small letter epsilon */, - {0x03b6, 0xe6} /* small letter zeta */, - {0x03b7, 0xe7} /* small letter eta */, - {0x03b8, 0xe8} /* small letter theta */, - {0x03b9, 0xe9} /* small letter iota */, - {0x03ba, 0xea} /* small letter kappa */, - {0x03bb, 0xeb} /* small letter lamda */, - {0x03bc, 0xec} /* small letter mu */, - {0x03bd, 0xed} /* small letter nu */, - {0x03be, 0xee} /* small letter xi */, - {0x03bf, 0xef} /* small letter omicron */, - {0x03c0, 0xf0} /* small letter pi */, - {0x03c1, 0xf1} /* small letter rho */, - {0x03c2, 0xf2} /* small letter final sigma */, - {0x03c3, 0xf3} /* small letter sigma */, - {0x03c4, 0xf4} /* small letter tau */, - {0x03c5, 0xf5} /* small letter upsilon */, - {0x03c6, 0xf6} /* small letter phi */, - {0x03c7, 0xf7} /* small letter chi */, - {0x03c8, 0xf8} /* small letter psi */, - {0x03c9, 0xf9} /* small letter omega */, - {0x03ca, 0xfa} /* small letter iota with diaeresis */, - {0x03cb, 0xfb} /* small letter upsilon with diaeresis */, - {0x03cc, 0xfc} /* small letter omicron with acute */, - {0x03cd, 0xfd} /* small letter upsilon with acute */, - {0x03ce, 0xfe} /* small letter omega with acute */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2015, 0xaf} /* bar */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1253.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1253_extra[] = -{ - {0x0191, 0x83} /* latin capital letter f with hook */, - {0x030d, 0xb4} /* combining vertical line above */, - {0x2195, 0xa6} /* up down arrow */, - {0x21a8, 0xa6} /* up down arrow with base */, - {0x2302, 0xa6} /* house */, - {0x2502, 0xa6} /* box drawings light vertical */, - {0x2510, 0xac} /* box drawings light down and left */, - {0x2551, 0xa6} /* box drawings double vertical */, - {0x2557, 0xac} /* box drawings double down and left */, - {0x2560, 0xa6} /* box drawings double vertical and right */, - {0x2563, 0xa6} /* box drawings double vertical and left */, - {0x2569, 0xa6} /* box drawings double up and horizontal */, - {0x25a0, 0xa6} /* black square */, - {0x25bc, 0xa1} /* black down-pointing triangle */, - {0x25d8, 0x95} /* inverse bullet */, - {0x2660, 0xa6} /* black spade suit */, - {0x2663, 0xa6} /* black club suit */, - {0x2665, 0xa6} /* black heart suit */, - {0x2666, 0xa6} /* black diamond suit */ -}; - -#define cet_ucs4_to_cp1253_extra_ct sizeof(cet_ucs4_to_cp1253_extra) / sizeof(cet_ucs4_to_cp1253_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1253 = /* defined in cet.h */ -{ - cet_cs_name_cp1253, /* name of character set */ - cet_cs_alias_cp1253, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1253, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1253, /* first non standard character */ - cet_ucs4_cnt_cp1253, /* number of values in table */ - - cet_ucs4_to_cp1253_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1253_ct, /* number of links */ - - cet_ucs4_to_cp1253_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1253_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1253_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, 0x0385, 0x0386, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, -1, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x2015, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x0384, 0x00b5, 0x00b6, 0x00b7, - 0x0388, 0x0389, 0x038a, 0x00bb, 0x038c, 0x00bd, 0x038e, 0x038f, - 0x0390, 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, - 0x0398, 0x0399, 0x039a, 0x039b, 0x039c, 0x039d, 0x039e, 0x039f, - 0x03a0, 0x03a1, -1, 0x03a3, 0x03a4, 0x03a5, 0x03a6, 0x03a7, - 0x03a8, 0x03a9, 0x03aa, 0x03ab, 0x03ac, 0x03ad, 0x03ae, 0x03af, - 0x03b0, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, - 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf, - 0x03c0, 0x03c1, 0x03c2, 0x03c3, 0x03c4, 0x03c5, 0x03c6, 0x03c7, - 0x03c8, 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1254.h b/gpsbabel/cet/cp1254.h deleted file mode 100644 index 085320898..000000000 --- a/gpsbabel/cet/cp1254.h +++ /dev/null @@ -1,228 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1254" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1254_h -#define cp1254_h - -#define cet_cs_name_cp1254 "CP1254" - -const char *cet_cs_alias_cp1254[] = -{ - "CP1254", "1254", "ms-turk", "windows-1254", "WIN-CP1254", - NULL -}; - -#define cet_ucs4_ofs_cp1254 128 -#define cet_ucs4_cnt_cp1254 128 - -const int cet_ucs4_map_cp1254[cet_ucs4_cnt_cp1254] = -{ - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - 0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x02dc, 0x2122, 0x0161, 0x203a, 0x0153, -1, -1, 0x0178, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x011e, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0130, 0x015e, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, - 0x011f, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff -}; - -#define cet_ucs4_to_cp1254_ct 34 - -const cet_ucs4_link_t cet_ucs4_to_cp1254_links[cet_ucs4_to_cp1254_ct] = -{ - {0x0117, 0xec} /* small letter e with dot above */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x011e, 0xd0} /* capital letter g with breve */, - {0x011f, 0xf0} /* small letter g with breve */, - {0x012b, 0xef} /* small letter i with macron */, - {0x0130, 0xdd} /* capital letter i with dot above */, - {0x0131, 0xfd} /* small letter i dotless */, - {0x0152, 0x8c} /* capital ligature oe */, - {0x0153, 0x9c} /* small ligature oe */, - {0x015e, 0xde} /* capital letter s with cedilla */, - {0x015f, 0xfe} /* small letter s with cedilla */, - {0x0160, 0x8a} /* capital letter s with caron */, - {0x0161, 0x9a} /* small letter s with caron */, - {0x0178, 0x9f} /* capital letter y with diaeresis */, - {0x0192, 0x83} /* minuscule latine f hameçon */, - {0x02c6, 0x88} /* modificative accent circonflexe */, - {0x02dc, 0x98} /* tilde */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1254.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1254_extra[] = -{ - {0x0191, 0x83} /* latin capital letter f with hook */, - {0x02bb, 0x91} /* modifier letter turned comma */, - {0x02c9, 0xaf} /* modifier letter macron */, - {0x02ca, 0xb4} /* modifier letter acute accent */, - {0x02da, 0xb0} /* ring above */, - {0x02db, 0xb8} /* ogonek */, - {0x02dd, 0xa8} /* double acute accent */, - {0x0301, 0xb4} /* combining acute accent */, - {0x0303, 0x98} /* combining tilde */, - {0x0304, 0xaf} /* combining macron */, - {0x0305, 0xaf} /* combining overline */, - {0x0306, 0x88} /* combining breve */, - {0x0307, 0xb7} /* combining dot above */, - {0x0308, 0xa8} /* combining diaeresis */, - {0x030a, 0xa7} /* combining ring above */, - {0x030c, 0x88} /* combining caron */, - {0x030e, 0xa8} /* combining double vertical line above */, - {0x0327, 0xb8} /* combining cedilla */, - {0x03b2, 0xdf} /* greek small letter beta */, - {0x03bc, 0xb5} /* greek small letter mu */, - {0x2024, 0x95} /* one dot leader */, - {0x2033, 0xa8} /* double prime */, - {0x2070, 0xb0} /* superscript zero */, - {0x2080, 0xb0} /* subscript zero */, - {0x2082, 0xb2} /* subscript two */, - {0x2083, 0xb3} /* subscript three */, - {0x20a4, 0xa3} /* lira sign */, - {0x212b, 0xc5} /* angstrom sign */, - {0x2190, 0x8b} /* leftwards arrow */, - {0x2192, 0x9b} /* rightwards arrow */, - {0x2205, 0xd8} /* empty set */, - {0x2213, 0xb1} /* minus-or-plus sign */, - {0x2218, 0xb0} /* ring operator */, - {0x2219, 0x95} /* bullet operator */, - {0x226a, 0xab} /* much less-than */, - {0x226b, 0xbb} /* much greater-than */, - {0x22c5, 0xb7} /* dot operator */, - {0x2302, 0xa6} /* house */, - {0x2500, 0xa6} /* box drawings light horizontal */, - {0x2510, 0xac} /* box drawings light down and left */, - {0x2551, 0xa6} /* box drawings double vertical */, - {0x2557, 0xac} /* box drawings double down and left */, - {0x2560, 0xa6} /* box drawings double vertical and right */, - {0x2563, 0xa6} /* box drawings double vertical and left */, - {0x2569, 0xa6} /* box drawings double up and horizontal */, - {0x25a0, 0xa6} /* black square */, - {0x25bc, 0xa1} /* black down-pointing triangle */, - {0x25d8, 0x95} /* inverse bullet */, - {0x2660, 0xa6} /* black spade suit */, - {0x2663, 0xa6} /* black club suit */, - {0x2665, 0xa6} /* black heart suit */, - {0x2666, 0xa6} /* black diamond suit */, - {0x275b, 0x91} /* heavy single turned comma quotation mark ornament */, - {0x275c, 0x92} /* heavy single comma quotation mark ornament */, - {0x275d, 0x93} /* heavy double turned comma quotation mark ornament */, - {0x275e, 0x94} /* heavy double comma quotation mark ornament */, - {0x300a, 0xab} /* left double angle bracket */, - {0x300b, 0xbb} /* right double angle bracket */, - {0x301f, 0x84} /* low double prime quotation mark */, - {0x30fb, 0xb7} /* katakana middle dot */, - {0x30fc, 0x97} /* katakana-hiragana prolonged sound mark */ -}; - -#define cet_ucs4_to_cp1254_extra_ct sizeof(cet_ucs4_to_cp1254_extra) / sizeof(cet_ucs4_to_cp1254_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1254 = /* defined in cet.h */ -{ - cet_cs_name_cp1254, /* name of character set */ - cet_cs_alias_cp1254, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1254, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1254, /* first non standard character */ - cet_ucs4_cnt_cp1254, /* number of values in table */ - - cet_ucs4_to_cp1254_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1254_ct, /* number of links */ - - cet_ucs4_to_cp1254_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1254_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1254_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - 0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x02dc, 0x2122, 0x0161, 0x203a, 0x0153, -1, -1, 0x0178, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x011e, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0130, 0x015e, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, - 0x011f, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1255.h b/gpsbabel/cet/cp1255.h deleted file mode 100644 index c078cefa3..000000000 --- a/gpsbabel/cet/cp1255.h +++ /dev/null @@ -1,212 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1255" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1255_h -#define cp1255_h - -#define cet_cs_name_cp1255 "CP1255" - -const char *cet_cs_alias_cp1255[] = -{ - "CP1255", "1255", "ms-hebr", "windows-1255", "WIN-CP1255", - NULL -}; - -#define cet_ucs4_ofs_cp1255 128 -#define cet_ucs4_cnt_cp1255 127 - -const int cet_ucs4_map_cp1255[cet_ucs4_cnt_cp1255] = -{ - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, -1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00d7, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x203e, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 0x2017, - 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, - 0x05d8, 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, - 0x05e0, 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, - 0x05e8, 0x05e9, 0x05ea, -1, -1, 0x200e, 0x200f -}; - -#define cet_ucs4_to_cp1255_ct 51 - -const cet_ucs4_link_t cet_ucs4_to_cp1255_links[cet_ucs4_to_cp1255_ct] = -{ - {0x00d7, 0xaa} /* sign */, - {0x00f7, 0xba} /* sign */, - {0x0192, 0x83} /* minuscule latine f hameçon */, - {0x05d0, 0xe0} /* letter alef */, - {0x05d1, 0xe1} /* letter bet */, - {0x05d2, 0xe2} /* letter gimel */, - {0x05d3, 0xe3} /* letter dalet */, - {0x05d4, 0xe4} /* letter he */, - {0x05d5, 0xe5} /* letter vav */, - {0x05d6, 0xe6} /* letter zayin */, - {0x05d7, 0xe7} /* letter het */, - {0x05d8, 0xe8} /* letter tet */, - {0x05d9, 0xe9} /* letter yod */, - {0x05da, 0xea} /* letter final kaf */, - {0x05db, 0xeb} /* letter kaf */, - {0x05dc, 0xec} /* letter lamed */, - {0x05dd, 0xed} /* letter final mem */, - {0x05de, 0xee} /* letter mem */, - {0x05df, 0xef} /* letter final nun */, - {0x05e0, 0xf0} /* letter nun */, - {0x05e1, 0xf1} /* letter samekh */, - {0x05e2, 0xf2} /* letter ayin */, - {0x05e3, 0xf3} /* letter final pe */, - {0x05e4, 0xf4} /* letter pe */, - {0x05e5, 0xf5} /* letter final tsadi */, - {0x05e6, 0xf6} /* letter tsadi */, - {0x05e7, 0xf7} /* letter qof */, - {0x05e8, 0xf8} /* letter resh */, - {0x05e9, 0xf9} /* letter shin */, - {0x05ea, 0xfa} /* letter tav */, - {0x200e, 0xfd} /* gauche-à-droite */, - {0x200f, 0xfe} /* droite-à-gauche */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2017, 0xdf} /* low line */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x203e, 0xaf} /* overline */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1255.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1255_extra[] = -{ - {0x02c6, 0x88} /* modifier letter circumflex */, - {0x02dc, 0x98} /* spacing tilde */, - {0x05b0, 0xc0} /* hebrew point sheva */, - {0x05b1, 0xc1} /* hebrew point hataf segol */, - {0x05b2, 0xc2} /* hebrew point hataf patah */, - {0x05b3, 0xc3} /* hebrew point hataf qamats */, - {0x05b4, 0xc4} /* hebrew point hiriq */, - {0x05b5, 0xc5} /* hebrew point tsere */, - {0x05b6, 0xc6} /* hebrew point segol */, - {0x05b7, 0xc7} /* hebrew point patah */, - {0x05b8, 0xc8} /* hebrew point qamats */, - {0x05b9, 0xc9} /* hebrew point holam */, - {0x05ba, 0xca} /* hebrew point ???? */, - {0x05bb, 0xcb} /* hebrew point qubuts */, - {0x05bc, 0xcc} /* hebrew point dagesh */, - {0x05bd, 0xcd} /* hebrew point meteg */, - {0x05be, 0xce} /* hebrew punctuation maqaf */, - {0x05bf, 0xcf} /* hebrew point rafe */, - {0x05c0, 0xd0} /* hebrew point paseq */, - {0x05c1, 0xd1} /* hebrew point shin dot */, - {0x05c2, 0xd2} /* hebrew point sin dot */, - {0x05c3, 0xd3} /* hebrew punctuation sof pasuq */, - {0x05f0, 0xd4} /* hebrew ligature yiddish double vav */, - {0x05f1, 0xd5} /* hebrew ligature yiddish vav yod */, - {0x05f2, 0xd6} /* hebrew ligature yiddish double yod */, - {0x05f3, 0xd7} /* hebrew punctuation geresh */, - {0x05f4, 0xd8} /* hebrew punctuation gershayim */, - {0x20aa, 0xa4} /* new sheqel sign */ -}; - -#define cet_ucs4_to_cp1255_extra_ct sizeof(cet_ucs4_to_cp1255_extra) / sizeof(cet_ucs4_to_cp1255_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1255 = /* defined in cet.h */ -{ - cet_cs_name_cp1255, /* name of character set */ - cet_cs_alias_cp1255, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1255, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1255, /* first non standard character */ - cet_ucs4_cnt_cp1255, /* number of values in table */ - - cet_ucs4_to_cp1255_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1255_ct, /* number of links */ - - cet_ucs4_to_cp1255_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1255_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1255_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, -1, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, -1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00d7, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x203e, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 0x2017, - 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, - 0x05d8, 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, - 0x05e0, 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, - 0x05e8, 0x05e9, 0x05ea, -1, -1, 0x200e, 0x200f, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1256.h b/gpsbabel/cet/cp1256.h deleted file mode 100644 index 89bc69652..000000000 --- a/gpsbabel/cet/cp1256.h +++ /dev/null @@ -1,232 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1256" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1256_h -#define cp1256_h - -#define cet_cs_name_cp1256 "CP1256" - -const char *cet_cs_alias_cp1256[] = -{ - "CP1256", "1256", "ms-arab", "windows-1256", "WIN-CP1256", - NULL -}; - -#define cet_ucs4_ofs_cp1256 128 -#define cet_ucs4_cnt_cp1256 128 - -const int cet_ucs4_map_cp1256[cet_ucs4_cnt_cp1256] = -{ - 0x20ac, 0x0660, 0x201a, 0x0661, 0x201e, 0x2026, 0x2020, 0x2021, - 0x0662, 0x0663, 0x0664, 0x2039, 0x0665, 0x0666, 0x0667, 0x0668, - 0x0669, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x061b, 0x2122, 0x061f, 0x203a, 0x0621, 0x0622, 0x0623, 0x0178, - 0x00a0, 0x0624, 0x0625, 0x00a3, 0x00a4, 0x0626, 0x00a6, 0x00a7, - 0x0627, 0x00a9, 0x0628, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x067e, - 0x00b0, 0x00b1, 0x0629, 0x062a, 0x062b, 0x00b5, 0x00b6, 0x00b7, - 0x062c, 0x0686, 0x062d, 0x00bb, 0x062e, 0x062f, 0x0630, 0x0631, - 0x00c0, 0x0632, 0x00c2, 0x0698, 0x0633, 0x0634, 0x0635, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x0636, 0x0637, 0x00ce, 0x00cf, - 0x3113, 0x0639, 0x063a, 0x0640, 0x00d4, 0x0641, 0x0642, 0x00d7, - 0x0643, 0x00d9, 0x06af, 0x00db, 0x00dc, 0x0644, 0x0645, 0x0646, - 0x00e0, 0x0647, 0x00e2, 0x0681, 0x0648, 0x0649, 0x064a, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x064b, 0x064c, 0x00ee, 0x00ef, - 0x064d, 0x064e, 0x064f, 0x0650, 0x00f4, 0x0651, 0x0652, 0x00f7, - -1, 0x00f9, -1, 0x00fb, 0x00fc, 0x200e, 0x200f, 0x00ff -}; - -#define cet_ucs4_to_cp1256_ct 81 - -const cet_ucs4_link_t cet_ucs4_to_cp1256_links[cet_ucs4_to_cp1256_ct] = -{ - {0x0178, 0x9f} /* capital letter y with diaeresis */, - {0x061b, 0x98} /* semicolon */, - {0x061f, 0x9a} /* question mark */, - {0x0621, 0x9c} /* letter hamza */, - {0x0622, 0x9d} /* letter alef with madda above */, - {0x0623, 0x9e} /* letter alef with hamza above */, - {0x0624, 0xa1} /* letter waw with hamza above */, - {0x0625, 0xa2} /* letter alef with hamza below */, - {0x0626, 0xa5} /* letter yeh with hamza above */, - {0x0627, 0xa8} /* letter alef */, - {0x0628, 0xaa} /* letter beh */, - {0x0629, 0xb2} /* letter teh marbuta */, - {0x062a, 0xb3} /* letter teh */, - {0x062b, 0xb4} /* letter theh */, - {0x062c, 0xb8} /* letter jeem */, - {0x062d, 0xba} /* letter hah */, - {0x062e, 0xbc} /* letter khah */, - {0x062f, 0xbd} /* letter dal */, - {0x0630, 0xbe} /* letter thal */, - {0x0631, 0xbf} /* letter reh */, - {0x0632, 0xc1} /* letter zain */, - {0x0633, 0xc4} /* letter seen */, - {0x0634, 0xc5} /* letter sheen */, - {0x0635, 0xc6} /* letter sad */, - {0x0636, 0xcc} /* letter dad */, - {0x0637, 0xcd} /* letter tah */, - {0x0639, 0xd1} /* letter ain */, - {0x063a, 0xd2} /* letter ghain */, - {0x0640, 0xd3} /* tatweel */, - {0x0641, 0xd5} /* letter feh */, - {0x0642, 0xd6} /* letter qaf */, - {0x0643, 0xd8} /* letter kaf */, - {0x0644, 0xdd} /* letter lam */, - {0x0645, 0xde} /* letter meem */, - {0x0646, 0xdf} /* letter noon */, - {0x0647, 0xe1} /* letter heh */, - {0x0648, 0xe4} /* letter waw */, - {0x0649, 0xe5} /* letter alef maksura */, - {0x064a, 0xe6} /* letter yeh */, - {0x064b, 0xec} /* fathatan */, - {0x064c, 0xed} /* dammatan */, - {0x064d, 0xf0} /* kasratan */, - {0x064e, 0xf1} /* fatha */, - {0x064f, 0xf2} /* damma */, - {0x0650, 0xf3} /* kasra */, - {0x0651, 0xf5} /* shadda */, - {0x0652, 0xf6} /* sukun */, - {0x0660, 0x81} /* arabic-indic digit zero */, - {0x0661, 0x83} /* arabic-indic digit one */, - {0x0662, 0x88} /* arabic-indic digit two */, - {0x0663, 0x89} /* arabic-indic digit three */, - {0x0664, 0x8a} /* arabic-indic digit four */, - {0x0665, 0x8c} /* arabic-indic digit five */, - {0x0666, 0x8d} /* arabic-indic digit six */, - {0x0667, 0x8e} /* arabic-indic digit seven */, - {0x0668, 0x8f} /* arabic-indic digit eight */, - {0x0669, 0x90} /* arabic-indic digit nine */, - {0x067e, 0xaf} /* letter peh */, - {0x0681, 0xe3} /* arabe ha' hamza en chef */, - {0x0686, 0xb9} /* arabe tchim' */, - {0x0698, 0xc3} /* arabe ja' */, - {0x06af, 0xda} /* letter gaf */, - {0x200e, 0xfd} /* gauche-à-droite */, - {0x200f, 0xfe} /* droite-à-gauche */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */, - {0x3113, 0xd0} /* letter zh */ -}; - -/* Extra table was generated from bestfit1256.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1256_extra[] = -{ - {0x0152, 0x8c} /* latin capital letter o e */, - {0x0153, 0x9c} /* latin small letter o e */, - {0x0192, 0x83} /* latin small letter script f */, - {0x02c6, 0x88} /* modifier letter circumflex */, - {0x060c, 0xa1} /* arabic comma */, - {0x0638, 0xd9} /* arabic letter dhah */, - {0x0679, 0x8a} /* arabic letter tteh */, - {0x0688, 0x8f} /* arabic letter ddal */, - {0x0691, 0x9a} /* arabic letter rreh */, - {0x06a9, 0x98} /* arabic letter keheh */, - {0x06ba, 0x9f} /* arabic letter noon ghunna */, - {0x06be, 0xaa} /* arabic letter heh doachashmee */, - {0x06c1, 0xc0} /* arabic letter heh goal */, - {0x06cc, 0xed} /* best-fit : farsi yeh -> arabic yeh (u+064a) */, - {0x06d2, 0xff} /* arabic letter yeh barree */, - {0x200c, 0x9d} /* zero width non-joiner */, - {0x200d, 0x9e} /* zero width joiner */, - {0x2030, 0x89} /* per mille sign */ -}; - -#define cet_ucs4_to_cp1256_extra_ct sizeof(cet_ucs4_to_cp1256_extra) / sizeof(cet_ucs4_to_cp1256_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1256 = /* defined in cet.h */ -{ - cet_cs_name_cp1256, /* name of character set */ - cet_cs_alias_cp1256, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1256, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1256, /* first non standard character */ - cet_ucs4_cnt_cp1256, /* number of values in table */ - - cet_ucs4_to_cp1256_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1256_ct, /* number of links */ - - cet_ucs4_to_cp1256_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1256_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1256_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, 0x0660, 0x201a, 0x0661, 0x201e, 0x2026, 0x2020, 0x2021, - 0x0662, 0x0663, 0x0664, 0x2039, 0x0665, 0x0666, 0x0667, 0x0668, - 0x0669, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x061b, 0x2122, 0x061f, 0x203a, 0x0621, 0x0622, 0x0623, 0x0178, - 0x00a0, 0x0624, 0x0625, 0x00a3, 0x00a4, 0x0626, 0x00a6, 0x00a7, - 0x0627, 0x00a9, 0x0628, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x067e, - 0x00b0, 0x00b1, 0x0629, 0x062a, 0x062b, 0x00b5, 0x00b6, 0x00b7, - 0x062c, 0x0686, 0x062d, 0x00bb, 0x062e, 0x062f, 0x0630, 0x0631, - 0x00c0, 0x0632, 0x00c2, 0x0698, 0x0633, 0x0634, 0x0635, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x0636, 0x0637, 0x00ce, 0x00cf, - 0x3113, 0x0639, 0x063a, 0x0640, 0x00d4, 0x0641, 0x0642, 0x00d7, - 0x0643, 0x00d9, 0x06af, 0x00db, 0x00dc, 0x0644, 0x0645, 0x0646, - 0x00e0, 0x0647, 0x00e2, 0x0681, 0x0648, 0x0649, 0x064a, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x064b, 0x064c, 0x00ee, 0x00ef, - 0x064d, 0x064e, 0x064f, 0x0650, 0x00f4, 0x0651, 0x0652, 0x00f7, - -1, 0x00f9, -1, 0x00fb, 0x00fc, 0x200e, 0x200f, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/cp1257.h b/gpsbabel/cet/cp1257.h deleted file mode 100644 index a629396cc..000000000 --- a/gpsbabel/cet/cp1257.h +++ /dev/null @@ -1,205 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CP1257" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cp1257_h -#define cp1257_h - -#define cet_cs_name_cp1257 "CP1257" - -const char *cet_cs_alias_cp1257[] = -{ - "CP1257", "1257", "WinBaltRim", "windows-1257", "WIN-CP1257", - NULL -}; - -#define cet_ucs4_ofs_cp1257 128 -#define cet_ucs4_cnt_cp1257 127 - -const int cet_ucs4_map_cp1257[cet_ucs4_cnt_cp1257] = -{ - 0x20ac, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, -1, 0x00a2, 0x00a3, 0x00a4, -1, 0x00a6, 0x00a7, - 0x00d8, 0x00a9, 0x0156, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00c6, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, -1, 0x00b5, 0x00b6, 0x00b7, - 0x00f8, 0x00b9, 0x0157, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00e6, - 0x0104, 0x012e, 0x0100, 0x0106, 0x00c4, 0x00c5, 0x0118, 0x0112, - 0x010c, 0x00c9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012a, 0x013b, - 0x0160, 0x0143, 0x0145, 0x00d3, 0x014c, 0x00d5, 0x00d6, 0x00d7, - 0x0172, 0x0141, 0x015a, 0x016a, 0x00dc, 0x017b, 0x017d, 0x00df, - 0x0105, 0x012f, 0x0101, 0x0107, 0x00e4, 0x00e5, 0x0119, 0x0113, - 0x010d, 0x00e9, 0x017a, 0x0117, 0x0123, 0x0137, 0x012b, 0x013c, - 0x0161, 0x0144, 0x0146, 0x00f3, 0x014d, 0x00f5, 0x00f6, 0x00f7, - 0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017e -}; - -#define cet_ucs4_to_cp1257_ct 69 - -const cet_ucs4_link_t cet_ucs4_to_cp1257_links[cet_ucs4_to_cp1257_ct] = -{ - {0x00c6, 0xaf} /* capital letter ae */, - {0x00d8, 0xa8} /* capital letter o with stroke */, - {0x00e6, 0xbf} /* small letter ae */, - {0x00f8, 0xb8} /* small letter o with stroke */, - {0x0100, 0xc2} /* capital letter a with macron */, - {0x0101, 0xe2} /* small letter a with macron */, - {0x0104, 0xc0} /* capital letter a with ogonek */, - {0x0105, 0xe0} /* small letter a with ogonek */, - {0x0106, 0xc3} /* capital letter c with acute */, - {0x0107, 0xe3} /* small letter c with acute */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x0112, 0xc7} /* capital letter e with macron */, - {0x0113, 0xe7} /* small letter e with macron */, - {0x0116, 0xcb} /* capital letter e with dot above */, - {0x0117, 0xeb} /* small letter e with dot above */, - {0x0118, 0xc6} /* capital letter e with ogonek */, - {0x0119, 0xe6} /* small letter e with ogonek */, - {0x0122, 0xcc} /* capital letter g with cedilla */, - {0x0123, 0xec} /* small letter g with cedilla */, - {0x012a, 0xce} /* capital letter i with macron */, - {0x012b, 0xee} /* small letter i with macron */, - {0x012e, 0xc1} /* capital letter i with ogonek */, - {0x012f, 0xe1} /* small letter i with ogonek */, - {0x0136, 0xcd} /* capital letter k with cedilla */, - {0x0137, 0xed} /* small letter k with cedilla */, - {0x013b, 0xcf} /* capital letter l with cedilla */, - {0x013c, 0xef} /* small letter l with cedilla */, - {0x0141, 0xd9} /* capital letter l with stroke */, - {0x0142, 0xf9} /* small letter l with stroke */, - {0x0143, 0xd1} /* capital letter n with acute */, - {0x0144, 0xf1} /* small letter n with acute */, - {0x0145, 0xd2} /* capital letter n with cedilla */, - {0x0146, 0xf2} /* small letter n with cedilla */, - {0x014c, 0xd4} /* capital letter o with macron */, - {0x014d, 0xf4} /* small letter o with macron */, - {0x0156, 0xaa} /* capital letter r with cedilla */, - {0x0157, 0xba} /* small letter r with cedilla */, - {0x015a, 0xda} /* capital letter s with acute */, - {0x015b, 0xfa} /* small letter s with acute */, - {0x0160, 0xd0} /* capital letter s with caron */, - {0x0161, 0xf0} /* small letter s with caron */, - {0x016a, 0xdb} /* capital letter u with macron */, - {0x016b, 0xfb} /* small letter u with macron */, - {0x0172, 0xd8} /* capital letter u with ogonek */, - {0x0173, 0xf8} /* small letter u with ogonek */, - {0x0179, 0xca} /* capital letter z with acute */, - {0x017a, 0xea} /* small letter z with acute */, - {0x017b, 0xdd} /* capital letter z with dot above */, - {0x017c, 0xfd} /* small letter z with dot above */, - {0x017d, 0xde} /* capital letter z with caron */, - {0x017e, 0xfe} /* small letter z with caron */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x20ac, 0x80} /* euro */, - {0x2122, 0x99} /* mark sign */ -}; - -/* Extra table was generated from bestfit1257.txt located at - ftp.unicode.org:/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/ */ - -const cet_ucs4_link_t cet_ucs4_to_cp1257_extra[] = -{ - {0x02c7, 0x8e} /* hacek */, - {0x02d9, 0xff} /* dot above */, - {0x02db, 0x9e} /* ogonek */, -}; - -#define cet_ucs4_to_cp1257_extra_ct sizeof(cet_ucs4_to_cp1257_extra) / sizeof(cet_ucs4_to_cp1257_extra[0]) - -cet_cs_vec_t cet_cs_vec_cp1257 = /* defined in cet.h */ -{ - cet_cs_name_cp1257, /* name of character set */ - cet_cs_alias_cp1257, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cp1257, /* char to UCS-4 value table */ - cet_ucs4_ofs_cp1257, /* first non standard character */ - cet_ucs4_cnt_cp1257, /* number of values in table */ - - cet_ucs4_to_cp1257_links, /* UCS-4 to char links */ - cet_ucs4_to_cp1257_ct, /* number of links */ - - cet_ucs4_to_cp1257_extra, /* hand made UCS-4 links */ - cet_ucs4_to_cp1257_extra_ct, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cp1257_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x20ac, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - -1, 0x2030, -1, 0x2039, -1, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - -1, 0x2122, -1, 0x203a, -1, -1, -1, -1, - 0x00a0, -1, 0x00a2, 0x00a3, 0x00a4, -1, 0x00a6, 0x00a7, - 0x00d8, 0x00a9, 0x0156, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00c6, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, -1, 0x00b5, 0x00b6, 0x00b7, - 0x00f8, 0x00b9, 0x0157, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00e6, - 0x0104, 0x012e, 0x0100, 0x0106, 0x00c4, 0x00c5, 0x0118, 0x0112, - 0x010c, 0x00c9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012a, 0x013b, - 0x0160, 0x0143, 0x0145, 0x00d3, 0x014c, 0x00d5, 0x00d6, 0x00d7, - 0x0172, 0x0141, 0x015a, 0x016a, 0x00dc, 0x017b, 0x017d, 0x00df, - 0x0105, 0x012f, 0x0101, 0x0107, 0x00e4, 0x00e5, 0x0119, 0x0113, - 0x010d, 0x00e9, 0x017a, 0x0117, 0x0123, 0x0137, 0x012b, 0x013c, - 0x0161, 0x0144, 0x0146, 0x00f3, 0x014d, 0x00f5, 0x00f6, 0x00f7, - 0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017e, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/csa_z243_4_1985_1.h b/gpsbabel/cet/csa_z243_4_1985_1.h deleted file mode 100644 index 9c24e5cea..000000000 --- a/gpsbabel/cet/csa_z243_4_1985_1.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CSA_Z243.4-1985-1" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef csa_z243_4_1985_1_h -#define csa_z243_4_1985_1_h - -#define cet_cs_name_csa_z243_4_1985_1 "CSA_Z243.4-1985-1" - -const char *cet_cs_alias_csa_z243_4_1985_1[] = -{ - "CSA_Z243.4-1985-1", "ca", "csa7-1", "ISO646-CA", - "iso-ir-121", NULL -}; - -#define cet_ucs4_ofs_csa_z243_4_1985_1 64 -#define cet_ucs4_cnt_csa_z243_4_1985_1 64 - -const int cet_ucs4_map_csa_z243_4_1985_1[cet_ucs4_cnt_csa_z243_4_1985_1] = -{ - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00e2, 0x00e7, 0x00ea, 0x00ee, 0x005f, - 0x00f4, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00fb, 0x007f -}; - -#define cet_ucs4_to_csa_z243_4_1985_1_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_1_links[cet_ucs4_to_csa_z243_4_1985_1_ct] = -{ - {0x00e0, 0x40} /* small letter a with grave */, - {0x00e2, 0x5b} /* small letter a with circumflex */, - {0x00e7, 0x5c} /* small letter c with cedilla */, - {0x00e8, 0x7d} /* small letter e with grave */, - {0x00e9, 0x7b} /* small letter e with acute */, - {0x00ea, 0x5d} /* small letter e with circumflex */, - {0x00ee, 0x5e} /* small letter i with circumflex */, - {0x00f4, 0x60} /* small letter o with circumflex */, - {0x00f9, 0x7c} /* small letter u with grave */, - {0x00fb, 0x7e} /* small letter u with circumflex */ -}; - -/* -#define cet_ucs4_to_csa_z243_4_1985_1_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_1_extra[cet_ucs4_to_csa_z243_4_1985_1_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_csa_z243_4_1985_1 = /* defined in cet.h */ -{ - cet_cs_name_csa_z243_4_1985_1, /* name of character set */ - cet_cs_alias_csa_z243_4_1985_1, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_csa_z243_4_1985_1, /* char to UCS-4 value table */ - cet_ucs4_ofs_csa_z243_4_1985_1, /* first non standard character */ - cet_ucs4_cnt_csa_z243_4_1985_1, /* number of values in table */ - - cet_ucs4_to_csa_z243_4_1985_1_links, /* UCS-4 to char links */ - cet_ucs4_to_csa_z243_4_1985_1_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int csa_z243_4_1985_1_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00e2, 0x00e7, 0x00ea, 0x00ee, 0x005f, - 0x00f4, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00fb, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/csa_z243_4_1985_2.h b/gpsbabel/cet/csa_z243_4_1985_2.h deleted file mode 100644 index 0d5e54bea..000000000 --- a/gpsbabel/cet/csa_z243_4_1985_2.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CSA_Z243.4-1985-2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef csa_z243_4_1985_2_h -#define csa_z243_4_1985_2_h - -#define cet_cs_name_csa_z243_4_1985_2 "CSA_Z243.4-1985-2" - -const char *cet_cs_alias_csa_z243_4_1985_2[] = -{ - "CSA_Z243.4-1985-2", "csa7-2", "ISO646-CA2", "iso-ir-122", - NULL -}; - -#define cet_ucs4_ofs_csa_z243_4_1985_2 64 -#define cet_ucs4_cnt_csa_z243_4_1985_2 64 - -const int cet_ucs4_map_csa_z243_4_1985_2[cet_ucs4_cnt_csa_z243_4_1985_2] = -{ - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00e2, 0x00e7, 0x00ea, 0x00c9, 0x005f, - 0x00f4, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00fb, 0x007f -}; - -#define cet_ucs4_to_csa_z243_4_1985_2_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_2_links[cet_ucs4_to_csa_z243_4_1985_2_ct] = -{ - {0x00c9, 0x5e} /* capital letter e with acute */, - {0x00e0, 0x40} /* small letter a with grave */, - {0x00e2, 0x5b} /* small letter a with circumflex */, - {0x00e7, 0x5c} /* small letter c with cedilla */, - {0x00e8, 0x7d} /* small letter e with grave */, - {0x00e9, 0x7b} /* small letter e with acute */, - {0x00ea, 0x5d} /* small letter e with circumflex */, - {0x00f4, 0x60} /* small letter o with circumflex */, - {0x00f9, 0x7c} /* small letter u with grave */, - {0x00fb, 0x7e} /* small letter u with circumflex */ -}; - -/* -#define cet_ucs4_to_csa_z243_4_1985_2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_2_extra[cet_ucs4_to_csa_z243_4_1985_2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_csa_z243_4_1985_2 = /* defined in cet.h */ -{ - cet_cs_name_csa_z243_4_1985_2, /* name of character set */ - cet_cs_alias_csa_z243_4_1985_2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_csa_z243_4_1985_2, /* char to UCS-4 value table */ - cet_ucs4_ofs_csa_z243_4_1985_2, /* first non standard character */ - cet_ucs4_cnt_csa_z243_4_1985_2, /* number of values in table */ - - cet_ucs4_to_csa_z243_4_1985_2_links, /* UCS-4 to char links */ - cet_ucs4_to_csa_z243_4_1985_2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int csa_z243_4_1985_2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00e2, 0x00e7, 0x00ea, 0x00c9, 0x005f, - 0x00f4, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00fb, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/csa_z243_4_1985_gr.h b/gpsbabel/cet/csa_z243_4_1985_gr.h deleted file mode 100644 index 32bd6053f..000000000 --- a/gpsbabel/cet/csa_z243_4_1985_gr.h +++ /dev/null @@ -1,206 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CSA_Z243.4-1985-gr" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef csa_z243_4_1985_gr_h -#define csa_z243_4_1985_gr_h - -#define cet_cs_name_csa_z243_4_1985_gr "CSA_Z243.4-1985-gr" - -const char *cet_cs_alias_csa_z243_4_1985_gr[] = -{ - "CSA_Z243.4-1985-gr", "iso-ir-123", NULL -}; - -#define cet_ucs4_ofs_csa_z243_4_1985_gr 162 -#define cet_ucs4_cnt_csa_z243_4_1985_gr 94 - -const int cet_ucs4_map_csa_z243_4_1985_gr[cet_ucs4_cnt_csa_z243_4_1985_gr] = -{ - 0x00a8, 0x00a3, 0x00a2, 0x00a5, 0x00b1, 0x00b4, 0x207d, 0x207e, - 0x00bd, 0x207a, 0x00b8, 0x00ad, 0x00b7, 0x207b, 0x2070, 0x00b9, - 0x00b2, 0x00b3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079, - 0x00bc, 0x00be, 0x21d0, 0x2260, 0x2265, 0x00bf, 0x00c0, 0x00c1, - 0x00c2, 0x00c7, 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cd, 0x00ce, - 0x00cf, 0x00d1, 0x00d3, 0x00d4, 0x00d9, 0x00da, 0x00db, 0x00dc, - 0x00ae, 0x00a7, 0x00b6, 0x00b5, 0x00aa, 0x00ba, 0x2018, 0x2019, - 0x201c, 0x201d, 0x00ab, 0x00bb, 0x00b0, 0x00a6, 0x00e0, 0x00e1, - 0x00e2, 0x00e7, 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ed, 0x00ee, - 0x00ef, 0x00f1, 0x00f3, 0x00f4, 0x00f9, 0x00fa, 0x00fb, 0x00fc, - 0x00a9, 0x2500, 0x2502, 0x2514, 0x2518, 0x2510, 0x250c, 0x251c, - 0x2534, 0x2524, 0x252c, 0x253c, 0x00ac, 0x2588 -}; - -#define cet_ucs4_to_csa_z243_4_1985_gr_ct 82 - -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_gr_links[cet_ucs4_to_csa_z243_4_1985_gr_ct] = -{ - {0x00a2, 0xa4} /* sign */, - {0x00a6, 0xdf} /* bar */, - {0x00a7, 0xd3} /* sign */, - {0x00a8, 0xa2} /* diaeresis */, - {0x00a9, 0xf2} /* sign */, - {0x00aa, 0xd6} /* ordinal indicator */, - {0x00ab, 0xdc} /* double angle quotation mark */, - {0x00ac, 0xfe} /* sign */, - {0x00ae, 0xd2} /* sign */, - {0x00b0, 0xde} /* sign */, - {0x00b1, 0xa6} /* sign */, - {0x00b4, 0xa7} /* accent */, - {0x00b5, 0xd5} /* sign */, - {0x00b6, 0xd4} /* sign */, - {0x00b7, 0xae} /* dot */, - {0x00b8, 0xac} /* cedilla */, - {0x00b9, 0xb1} /* one */, - {0x00ba, 0xd7} /* ordinal indicator */, - {0x00bb, 0xdd} /* double angle quotation mark */, - {0x00bc, 0xba} /* fraction one quarter */, - {0x00bd, 0xaa} /* fraction one half */, - {0x00be, 0xbb} /* fraction three quarters */, - {0x00c7, 0xc3} /* capital letter c with cedilla */, - {0x00c8, 0xc4} /* capital letter e with grave */, - {0x00c9, 0xc5} /* capital letter e with acute */, - {0x00ca, 0xc6} /* capital letter e with circumflex */, - {0x00cb, 0xc7} /* capital letter e with diaeresis */, - {0x00cd, 0xc8} /* capital letter i with acute */, - {0x00ce, 0xc9} /* capital letter i with circumflex */, - {0x00cf, 0xca} /* capital letter i with diaeresis */, - {0x00d1, 0xcb} /* capital letter n with tilde */, - {0x00d3, 0xcc} /* capital letter o with acute */, - {0x00d4, 0xcd} /* capital letter o with circumflex */, - {0x00d9, 0xce} /* capital letter u with grave */, - {0x00da, 0xcf} /* capital letter u with acute */, - {0x00db, 0xd0} /* capital letter u with circumflex */, - {0x00dc, 0xd1} /* capital letter u with diaeresis */, - {0x00e7, 0xe3} /* small letter c with cedilla */, - {0x00e8, 0xe4} /* small letter e with grave */, - {0x00e9, 0xe5} /* small letter e with acute */, - {0x00ea, 0xe6} /* small letter e with circumflex */, - {0x00eb, 0xe7} /* small letter e with diaeresis */, - {0x00ed, 0xe8} /* small letter i with acute */, - {0x00ee, 0xe9} /* small letter i with circumflex */, - {0x00ef, 0xea} /* small letter i with diaeresis */, - {0x00f1, 0xeb} /* small letter n with tilde */, - {0x00f3, 0xec} /* small letter o with acute */, - {0x00f4, 0xed} /* small letter o with circumflex */, - {0x00f9, 0xee} /* small letter u with grave */, - {0x00fa, 0xef} /* small letter u with acute */, - {0x00fb, 0xf0} /* small letter u with circumflex */, - {0x00fc, 0xf1} /* small letter u with diaeresis */, - {0x2018, 0xd8} /* single quotation mark */, - {0x2019, 0xd9} /* single quotation mark */, - {0x201c, 0xda} /* double quotation mark */, - {0x201d, 0xdb} /* double quotation mark */, - {0x2070, 0xb0} /* digit zero */, - {0x2074, 0xb4} /* digit four */, - {0x2075, 0xb5} /* digit five */, - {0x2076, 0xb6} /* digit six */, - {0x2077, 0xb7} /* digit seven */, - {0x2078, 0xb8} /* digit eight */, - {0x2079, 0xb9} /* digit nine */, - {0x207a, 0xab} /* plus sign */, - {0x207b, 0xaf} /* minus */, - {0x207d, 0xa8} /* left parenthesis */, - {0x207e, 0xa9} /* right parenthesis */, - {0x21d0, 0xbc} /* double arrow */, - {0x2260, 0xbd} /* equal to */, - {0x2265, 0xbe} /* or equal to */, - {0x2500, 0xf3} /* drawings light horizontal */, - {0x2502, 0xf4} /* drawings light vertical */, - {0x250c, 0xf8} /* drawings light down and right */, - {0x2510, 0xf7} /* drawings light down and left */, - {0x2514, 0xf5} /* drawings light up and right */, - {0x2518, 0xf6} /* drawings light up and left */, - {0x251c, 0xf9} /* drawings light vertical and right */, - {0x2524, 0xfb} /* drawings light vertical and left */, - {0x252c, 0xfc} /* drawings light down and horizontal */, - {0x2534, 0xfa} /* drawings light up and horizontal */, - {0x253c, 0xfd} /* drawings light vertical and horizontal */, - {0x2588, 0xff} /* block */ -}; - -/* -#define cet_ucs4_to_csa_z243_4_1985_gr_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_csa_z243_4_1985_gr_extra[cet_ucs4_to_csa_z243_4_1985_gr_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_csa_z243_4_1985_gr = /* defined in cet.h */ -{ - cet_cs_name_csa_z243_4_1985_gr, /* name of character set */ - cet_cs_alias_csa_z243_4_1985_gr, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_csa_z243_4_1985_gr, /* char to UCS-4 value table */ - cet_ucs4_ofs_csa_z243_4_1985_gr, /* first non standard character */ - cet_ucs4_cnt_csa_z243_4_1985_gr, /* number of values in table */ - - cet_ucs4_to_csa_z243_4_1985_gr_links, /* UCS-4 to char links */ - cet_ucs4_to_csa_z243_4_1985_gr_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int csa_z243_4_1985_gr_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00a1, 0x00a8, 0x00a3, 0x00a2, 0x00a5, 0x00b1, 0x00b4, - 0x207d, 0x207e, 0x00bd, 0x207a, 0x00b8, 0x00ad, 0x00b7, 0x207b, - 0x2070, 0x00b9, 0x00b2, 0x00b3, 0x2074, 0x2075, 0x2076, 0x2077, - 0x2078, 0x2079, 0x00bc, 0x00be, 0x21d0, 0x2260, 0x2265, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c7, 0x00c8, 0x00c9, 0x00ca, 0x00cb, - 0x00cd, 0x00ce, 0x00cf, 0x00d1, 0x00d3, 0x00d4, 0x00d9, 0x00da, - 0x00db, 0x00dc, 0x00ae, 0x00a7, 0x00b6, 0x00b5, 0x00aa, 0x00ba, - 0x2018, 0x2019, 0x201c, 0x201d, 0x00ab, 0x00bb, 0x00b0, 0x00a6, - 0x00e0, 0x00e1, 0x00e2, 0x00e7, 0x00e8, 0x00e9, 0x00ea, 0x00eb, - 0x00ed, 0x00ee, 0x00ef, 0x00f1, 0x00f3, 0x00f4, 0x00f9, 0x00fa, - 0x00fb, 0x00fc, 0x00a9, 0x2500, 0x2502, 0x2514, 0x2518, 0x2510, - 0x250c, 0x251c, 0x2534, 0x2524, 0x252c, 0x253c, 0x00ac, 0x2588 -}; -*/ - -#endif diff --git a/gpsbabel/cet/csn_369103.h b/gpsbabel/cet/csn_369103.h deleted file mode 100644 index 4b6cca844..000000000 --- a/gpsbabel/cet/csn_369103.h +++ /dev/null @@ -1,200 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CSN_369103" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef csn_369103_h -#define csn_369103_h - -#define cet_cs_name_csn_369103 "CSN_369103" - -const char *cet_cs_alias_csn_369103[] = -{ - "CSN_369103", "iso-ir-139", "koi8l2", "KOI-8_L2", - NULL -}; - -#define cet_ucs4_ofs_csn_369103 36 -#define cet_ucs4_cnt_csn_369103 220 - -const int cet_ucs4_map_csn_369103[cet_ucs4_cnt_csn_369103] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, 0x009a, 0x009b, - 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, 0x0104, 0x02d8, 0x0141, - 0x0024, 0x013d, 0x015a, 0x00a7, 0x00a8, 0x0160, 0x015e, 0x0164, - 0x0179, 0x00ad, 0x017d, 0x017b, 0x00b0, 0x0105, 0x02db, 0x0142, - 0x00b4, 0x013e, 0x015b, 0x02c7, 0x00b8, 0x0161, 0x015f, 0x0165, - 0x017a, 0x02dd, 0x017e, 0x017c, 0x0154, 0x00c1, 0x00c2, 0x0102, - 0x00c4, 0x0139, 0x0106, 0x00c7, 0x010c, 0x00c9, 0x0118, 0x00cb, - 0x011a, 0x00cd, 0x00ce, 0x010e, 0x0110, 0x0143, 0x0147, 0x00d3, - 0x00d4, 0x0150, 0x00d6, 0x00d7, 0x0158, 0x016e, 0x00da, 0x0170, - 0x00dc, 0x00dd, 0x0162, 0x00df, 0x0155, 0x00e1, 0x00e2, 0x0103, - 0x00e4, 0x013a, 0x0107, 0x00e7, 0x010d, 0x00e9, 0x0119, 0x00eb, - 0x011b, 0x00ed, 0x00ee, 0x010f, 0x0111, 0x0144, 0x0148, 0x00f3, - 0x00f4, 0x0151, 0x00f6, 0x00f7, 0x0159, 0x016f, 0x00fa, 0x0171, - 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; - -#define cet_ucs4_to_csn_369103_ct 59 - -const cet_ucs4_link_t cet_ucs4_to_csn_369103_links[cet_ucs4_to_csn_369103_ct] = -{ - {0x0024, 0xa4} /* sign */, - {0x00a4, 0x24} /* sign */, - {0x0102, 0xc3} /* capital letter a with breve */, - {0x0103, 0xe3} /* small letter a with breve */, - {0x0104, 0xa1} /* capital letter a with ogonek */, - {0x0105, 0xb1} /* small letter a with ogonek */, - {0x0106, 0xc6} /* capital letter c with acute */, - {0x0107, 0xe6} /* small letter c with acute */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x010e, 0xcf} /* capital letter d with caron */, - {0x010f, 0xef} /* small letter d with caron */, - {0x0110, 0xd0} /* capital letter d with stroke */, - {0x0111, 0xf0} /* small letter d with stroke */, - {0x0118, 0xca} /* capital letter e with ogonek */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x011a, 0xcc} /* capital letter e with caron */, - {0x011b, 0xec} /* small letter e with caron */, - {0x0139, 0xc5} /* capital letter l with acute */, - {0x013a, 0xe5} /* small letter l with acute */, - {0x013d, 0xa5} /* capital letter l with caron */, - {0x013e, 0xb5} /* small letter l with caron */, - {0x0141, 0xa3} /* capital letter l with stroke */, - {0x0142, 0xb3} /* small letter l with stroke */, - {0x0143, 0xd1} /* capital letter n with acute */, - {0x0144, 0xf1} /* small letter n with acute */, - {0x0147, 0xd2} /* capital letter n with caron */, - {0x0148, 0xf2} /* small letter n with caron */, - {0x0150, 0xd5} /* capital letter o with double acute */, - {0x0151, 0xf5} /* small letter o with double acute */, - {0x0154, 0xc0} /* capital letter r with acute */, - {0x0155, 0xe0} /* small letter r with acute */, - {0x0158, 0xd8} /* capital letter r with caron */, - {0x0159, 0xf8} /* small letter r with caron */, - {0x015a, 0xa6} /* capital letter s with acute */, - {0x015b, 0xb6} /* small letter s with acute */, - {0x015e, 0xaa} /* capital letter s with cedilla */, - {0x015f, 0xba} /* small letter s with cedilla */, - {0x0160, 0xa9} /* capital letter s with caron */, - {0x0161, 0xb9} /* small letter s with caron */, - {0x0162, 0xde} /* capital letter t with cedilla */, - {0x0163, 0xfe} /* small letter t with cedilla */, - {0x0164, 0xab} /* capital letter t with caron */, - {0x0165, 0xbb} /* small letter t with caron */, - {0x016e, 0xd9} /* capital letter u with ring above */, - {0x016f, 0xf9} /* small letter u with ring above */, - {0x0170, 0xdb} /* capital letter u with double acute */, - {0x0171, 0xfb} /* small letter u with double acute */, - {0x0179, 0xac} /* capital letter z with acute */, - {0x017a, 0xbc} /* small letter z with acute */, - {0x017b, 0xaf} /* capital letter z with dot above */, - {0x017c, 0xbf} /* small letter z with dot above */, - {0x017d, 0xae} /* capital letter z with caron */, - {0x017e, 0xbe} /* small letter z with caron */, - {0x02c7, 0xb7} /* caron */, - {0x02d8, 0xa2} /* breve */, - {0x02d9, 0xff} /* above */, - {0x02db, 0xb2} /* ogonek */, - {0x02dd, 0xbd} /* acute accent */ -}; - -/* -#define cet_ucs4_to_csn_369103_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_csn_369103_extra[cet_ucs4_to_csn_369103_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_csn_369103 = /* defined in cet.h */ -{ - cet_cs_name_csn_369103, /* name of character set */ - cet_cs_alias_csn_369103, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_csn_369103, /* char to UCS-4 value table */ - cet_ucs4_ofs_csn_369103, /* first non standard character */ - cet_ucs4_cnt_csn_369103, /* number of values in table */ - - cet_ucs4_to_csn_369103_links, /* UCS-4 to char links */ - cet_ucs4_to_csn_369103_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int csn_369103_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0104, 0x02d8, 0x0141, 0x0024, 0x013d, 0x015a, 0x00a7, - 0x00a8, 0x0160, 0x015e, 0x0164, 0x0179, 0x00ad, 0x017d, 0x017b, - 0x00b0, 0x0105, 0x02db, 0x0142, 0x00b4, 0x013e, 0x015b, 0x02c7, - 0x00b8, 0x0161, 0x015f, 0x0165, 0x017a, 0x02dd, 0x017e, 0x017c, - 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, - 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, - 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, - 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, - 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, - 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; -*/ - -#endif diff --git a/gpsbabel/cet/cwi.h b/gpsbabel/cet/cwi.h deleted file mode 100644 index 3b5be2206..000000000 --- a/gpsbabel/cet/cwi.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "CWI" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef cwi_h -#define cwi_h - -#define cet_cs_name_cwi "CWI" - -const char *cet_cs_alias_cwi[] = -{ - "CWI", "cp-hu", "CWI-2", NULL -}; - -#define cet_ucs4_ofs_cwi 128 -#define cet_ucs4_cnt_cwi 128 - -const int cet_ucs4_map_cwi[cet_ucs4_cnt_cwi] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00cd, 0x00c4, 0x00c1, - 0x00c9, 0x00e6, 0x00c6, 0x0151, 0x00f6, 0x00d3, 0x0171, 0x00da, - 0x0170, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x20a7, 0xe01f, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x0150, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x03bc, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_cwi_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_cwi_links[cet_ucs4_to_cwi_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a5, 0x9d} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b7, 0xf9} /* dot */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c1, 0x8f} /* capital letter a with acute */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00cd, 0x8d} /* capital letter i with acute */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d3, 0x95} /* capital letter o with acute */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00da, 0x97} /* capital letter u with acute */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x0150, 0xa7} /* capital letter o with double acute */, - {0x0151, 0x93} /* small letter o with double acute */, - {0x0170, 0x98} /* capital letter u with double acute */, - {0x0171, 0x96} /* small letter u with double acute */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b2, 0xe1} /* small letter beta */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03bc, 0xe6} /* small letter mu */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x2205, 0xed} /* set */, - {0x2218, 0xf8} /* operator */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2310, 0xa9} /* not sign */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */, - {0xe01f, 0x9f} /* guilder sign (ibm437 159) */ -}; - -/* -#define cet_ucs4_to_cwi_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_cwi_extra[cet_ucs4_to_cwi_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_cwi = /* defined in cet.h */ -{ - cet_cs_name_cwi, /* name of character set */ - cet_cs_alias_cwi, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_cwi, /* char to UCS-4 value table */ - cet_ucs4_ofs_cwi, /* first non standard character */ - cet_ucs4_cnt_cwi, /* number of values in table */ - - cet_ucs4_to_cwi_links, /* UCS-4 to char links */ - cet_ucs4_to_cwi_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int cwi_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00cd, 0x00c4, 0x00c1, - 0x00c9, 0x00e6, 0x00c6, 0x0151, 0x00f6, 0x00d3, 0x0171, 0x00da, - 0x0170, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x20a7, 0xe01f, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x0150, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x03bc, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/dec_mcs.h b/gpsbabel/cet/dec_mcs.h deleted file mode 100644 index b7a319df8..000000000 --- a/gpsbabel/cet/dec_mcs.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "DEC-MCS" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef dec_mcs_h -#define dec_mcs_h - -#define cet_cs_name_dec_mcs "DEC-MCS" - -const char *cet_cs_alias_dec_mcs[] = -{ - "DEC-MCS", "dec", NULL -}; - -#define cet_ucs4_ofs_dec_mcs 160 -#define cet_ucs4_cnt_dec_mcs 94 - -const int cet_ucs4_map_dec_mcs[cet_ucs4_cnt_dec_mcs] = -{ - -1, 0x00a1, 0x00a2, 0x00a3, -1, 0x00a5, -1, 0x00a7, - 0x00a4, 0x00a9, 0x00aa, 0x00ab, -1, -1, -1, -1, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, -1, 0x00b5, 0x00b6, 0x00b7, - -1, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, -1, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - -1, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x0152, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0178, -1, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - -1, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x0153, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00ff -}; - -#define cet_ucs4_to_dec_mcs_ct 5 - -const cet_ucs4_link_t cet_ucs4_to_dec_mcs_links[cet_ucs4_to_dec_mcs_ct] = -{ - {0x00a4, 0xa8} /* sign */, - {0x00ff, 0xfd} /* small letter y with diaeresis */, - {0x0152, 0xd7} /* capital ligature oe */, - {0x0153, 0xf7} /* small ligature oe */, - {0x0178, 0xdd} /* capital letter y with diaeresis */ -}; - -/* -#define cet_ucs4_to_dec_mcs_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_dec_mcs_extra[cet_ucs4_to_dec_mcs_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_dec_mcs = /* defined in cet.h */ -{ - cet_cs_name_dec_mcs, /* name of character set */ - cet_cs_alias_dec_mcs, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_dec_mcs, /* char to UCS-4 value table */ - cet_ucs4_ofs_dec_mcs, /* first non standard character */ - cet_ucs4_cnt_dec_mcs, /* number of values in table */ - - cet_ucs4_to_dec_mcs_links, /* UCS-4 to char links */ - cet_ucs4_to_dec_mcs_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int dec_mcs_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - -1, 0x00a1, 0x00a2, 0x00a3, -1, 0x00a5, -1, 0x00a7, - 0x00a4, 0x00a9, 0x00aa, 0x00ab, -1, -1, -1, -1, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, -1, 0x00b5, 0x00b6, 0x00b7, - -1, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, -1, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - -1, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x0152, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0178, -1, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - -1, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x0153, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00ff, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/din_66003.h b/gpsbabel/cet/din_66003.h deleted file mode 100644 index cd0b69d18..000000000 --- a/gpsbabel/cet/din_66003.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "DIN_66003" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef din_66003_h -#define din_66003_h - -#define cet_cs_name_din_66003 "DIN_66003" - -const char *cet_cs_alias_din_66003[] = -{ - "DIN_66003", "de", "ISO646-DE", "iso-ir-21", - NULL -}; - -#define cet_ucs4_ofs_din_66003 64 -#define cet_ucs4_cnt_din_66003 64 - -const int cet_ucs4_map_din_66003[cet_ucs4_cnt_din_66003] = -{ - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00dc, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00fc, 0x00df, 0x007f -}; - -#define cet_ucs4_to_din_66003_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_din_66003_links[cet_ucs4_to_din_66003_ct] = -{ - {0x00a7, 0x40} /* sign */, - {0x00c4, 0x5b} /* capital letter a with diaeresis */, - {0x00d6, 0x5c} /* capital letter o with diaeresis */, - {0x00dc, 0x5d} /* capital letter u with diaeresis */, - {0x00df, 0x7e} /* small letter sharp s (german) */, - {0x00e4, 0x7b} /* small letter a with diaeresis */, - {0x00f6, 0x7c} /* small letter o with diaeresis */, - {0x00fc, 0x7d} /* small letter u with diaeresis */ -}; - -/* -#define cet_ucs4_to_din_66003_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_din_66003_extra[cet_ucs4_to_din_66003_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_din_66003 = /* defined in cet.h */ -{ - cet_cs_name_din_66003, /* name of character set */ - cet_cs_alias_din_66003, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_din_66003, /* char to UCS-4 value table */ - cet_ucs4_ofs_din_66003, /* first non standard character */ - cet_ucs4_cnt_din_66003, /* number of values in table */ - - cet_ucs4_to_din_66003_links, /* UCS-4 to char links */ - cet_ucs4_to_din_66003_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int din_66003_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00dc, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00fc, 0x00df, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ds_2089.h b/gpsbabel/cet/ds_2089.h deleted file mode 100644 index 1035225e7..000000000 --- a/gpsbabel/cet/ds_2089.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "DS_2089" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ds_2089_h -#define ds_2089_h - -#define cet_cs_name_ds_2089 "DS_2089" - -const char *cet_cs_alias_ds_2089[] = -{ - "DS_2089", "dk", "DS2089", "ISO646-DK", - NULL -}; - -#define cet_ucs4_ofs_ds_2089 91 -#define cet_ucs4_cnt_ds_2089 37 - -const int cet_ucs4_map_ds_2089[cet_ucs4_cnt_ds_2089] = -{ - 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e6, 0x00f8, 0x00e5, 0x007e, 0x007f -}; - -#define cet_ucs4_to_ds_2089_ct 6 - -const cet_ucs4_link_t cet_ucs4_to_ds_2089_links[cet_ucs4_to_ds_2089_ct] = -{ - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00c6, 0x5b} /* capital letter ae */, - {0x00d8, 0x5c} /* capital letter o with stroke */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00e6, 0x7b} /* small letter ae */, - {0x00f8, 0x7c} /* small letter o with stroke */ -}; - -/* -#define cet_ucs4_to_ds_2089_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ds_2089_extra[cet_ucs4_to_ds_2089_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ds_2089 = /* defined in cet.h */ -{ - cet_cs_name_ds_2089, /* name of character set */ - cet_cs_alias_ds_2089, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ds_2089, /* char to UCS-4 value table */ - cet_ucs4_ofs_ds_2089, /* first non standard character */ - cet_ucs4_cnt_ds_2089, /* number of values in table */ - - cet_ucs4_to_ds_2089_links, /* UCS-4 to char links */ - cet_ucs4_to_ds_2089_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ds_2089_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e6, 0x00f8, 0x00e5, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ecma_cyrillic.h b/gpsbabel/cet/ecma_cyrillic.h deleted file mode 100644 index dda8a7058..000000000 --- a/gpsbabel/cet/ecma_cyrillic.h +++ /dev/null @@ -1,219 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ECMA-cyrillic" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ecma_cyrillic_h -#define ecma_cyrillic_h - -#define cet_cs_name_ecma_cyrillic "ECMA-cyrillic" - -const char *cet_cs_alias_ecma_cyrillic[] = -{ - "ECMA-cyrillic", "ECMA-113", "ECMA-113:1986", "iso-ir-111", - NULL -}; - -#define cet_ucs4_ofs_ecma_cyrillic 161 -#define cet_ucs4_cnt_ecma_cyrillic 95 - -const int cet_ucs4_map_ecma_cyrillic[cet_ucs4_cnt_ecma_cyrillic] = -{ - 0x0452, 0x0453, 0x0451, 0x0454, 0x0455, 0x0456, 0x0457, 0x0458, - 0x0459, 0x045a, 0x045b, 0x045c, 0x00ad, 0x045e, 0x045f, 0x2116, - 0x0402, 0x0403, 0x0401, 0x0404, 0x0405, 0x0406, 0x0407, 0x0408, - 0x0409, 0x040a, 0x040b, 0x040c, 0x00a4, 0x040e, 0x040f, 0x044e, - 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, 0x0445, - 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, - 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, 0x044c, - 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, 0x042e, - 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, 0x0425, - 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, - 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, 0x042c, - 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; - -#define cet_ucs4_to_ecma_cyrillic_ct 94 - -const cet_ucs4_link_t cet_ucs4_to_ecma_cyrillic_links[cet_ucs4_to_ecma_cyrillic_ct] = -{ - {0x00a4, 0xbd} /* sign */, - {0x0401, 0xb3} /* capital letter io */, - {0x0402, 0xb1} /* capital letter dje (serbocroatian) */, - {0x0403, 0xb2} /* capital letter gje (macedonian) */, - {0x0404, 0xb4} /* capital letter ukrainian ie */, - {0x0405, 0xb5} /* capital letter dze (macedonian) */, - {0x0406, 0xb6} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0xb7} /* capital letter yi (ukrainian) */, - {0x0408, 0xb8} /* capital letter je */, - {0x0409, 0xb9} /* capital letter lje */, - {0x040a, 0xba} /* capital letter nje */, - {0x040b, 0xbb} /* capital letter tshe (serbocroatian) */, - {0x040c, 0xbc} /* capital letter kje (macedonian) */, - {0x040e, 0xbe} /* capital letter short u (byelorussian) */, - {0x040f, 0xbf} /* capital letter dzhe */, - {0x0410, 0xe1} /* capital letter a */, - {0x0411, 0xe2} /* capital letter be */, - {0x0412, 0xf7} /* capital letter ve */, - {0x0413, 0xe7} /* capital letter ghe */, - {0x0414, 0xe4} /* capital letter de */, - {0x0415, 0xe5} /* capital letter ie */, - {0x0416, 0xf6} /* capital letter zhe */, - {0x0417, 0xfa} /* capital letter ze */, - {0x0418, 0xe9} /* capital letter i */, - {0x0419, 0xea} /* capital letter short i */, - {0x041a, 0xeb} /* capital letter ka */, - {0x041b, 0xec} /* capital letter el */, - {0x041c, 0xed} /* capital letter em */, - {0x041d, 0xee} /* capital letter en */, - {0x041e, 0xef} /* capital letter o */, - {0x041f, 0xf0} /* capital letter pe */, - {0x0420, 0xf2} /* capital letter er */, - {0x0421, 0xf3} /* capital letter es */, - {0x0422, 0xf4} /* capital letter te */, - {0x0423, 0xf5} /* capital letter u */, - {0x0424, 0xe6} /* capital letter ef */, - {0x0425, 0xe8} /* capital letter ha */, - {0x0426, 0xe3} /* capital letter tse */, - {0x0427, 0xfe} /* capital letter che */, - {0x0428, 0xfb} /* capital letter sha */, - {0x0429, 0xfd} /* capital letter shcha */, - {0x042a, 0xff} /* capital letter hard sign */, - {0x042b, 0xf9} /* capital letter yeru */, - {0x042c, 0xf8} /* capital letter soft sign */, - {0x042d, 0xfc} /* capital letter e */, - {0x042e, 0xe0} /* capital letter yu */, - {0x042f, 0xf1} /* capital letter ya */, - {0x0430, 0xc1} /* small letter a */, - {0x0431, 0xc2} /* small letter be */, - {0x0432, 0xd7} /* small letter ve */, - {0x0433, 0xc7} /* small letter ghe */, - {0x0434, 0xc4} /* small letter de */, - {0x0435, 0xc5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xda} /* small letter ze */, - {0x0438, 0xc9} /* small letter i */, - {0x0439, 0xca} /* small letter short i */, - {0x043a, 0xcb} /* small letter ka */, - {0x043b, 0xcc} /* small letter el */, - {0x043c, 0xcd} /* small letter em */, - {0x043d, 0xce} /* small letter en */, - {0x043e, 0xcf} /* small letter o */, - {0x043f, 0xd0} /* small letter pe */, - {0x0440, 0xd2} /* small letter er */, - {0x0441, 0xd3} /* small letter es */, - {0x0442, 0xd4} /* small letter te */, - {0x0443, 0xd5} /* small letter u */, - {0x0444, 0xc6} /* small letter ef */, - {0x0445, 0xc8} /* small letter ha */, - {0x0446, 0xc3} /* small letter tse */, - {0x0447, 0xde} /* small letter che */, - {0x0448, 0xdb} /* small letter sha */, - {0x0449, 0xdd} /* small letter shcha */, - {0x044a, 0xdf} /* small letter hard sign */, - {0x044b, 0xd9} /* small letter yeru */, - {0x044c, 0xd8} /* small letter soft sign */, - {0x044d, 0xdc} /* small letter e */, - {0x044e, 0xc0} /* small letter yu */, - {0x044f, 0xd1} /* small letter ya */, - {0x0451, 0xa3} /* small letter io */, - {0x0452, 0xa1} /* small letter dje (serbocroatian) */, - {0x0453, 0xa2} /* small letter gje (macedonian) */, - {0x0454, 0xa4} /* small letter ukrainian ie */, - {0x0455, 0xa5} /* small letter dze (macedonian) */, - {0x0456, 0xa6} /* small letter byelorussian-ukrainian i */, - {0x0457, 0xa7} /* small letter yi (ukrainian) */, - {0x0458, 0xa8} /* small letter je */, - {0x0459, 0xa9} /* small letter lje */, - {0x045a, 0xaa} /* small letter nje */, - {0x045b, 0xab} /* small letter tshe (serbocroatian) */, - {0x045c, 0xac} /* small letter kje (macedonian) */, - {0x045e, 0xae} /* small letter short u (byelorussian) */, - {0x045f, 0xaf} /* small letter dzhe */, - {0x2116, 0xb0} /* sign */ -}; - -/* -#define cet_ucs4_to_ecma_cyrillic_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ecma_cyrillic_extra[cet_ucs4_to_ecma_cyrillic_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ecma_cyrillic = /* defined in cet.h */ -{ - cet_cs_name_ecma_cyrillic, /* name of character set */ - cet_cs_alias_ecma_cyrillic, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ecma_cyrillic, /* char to UCS-4 value table */ - cet_ucs4_ofs_ecma_cyrillic, /* first non standard character */ - cet_ucs4_cnt_ecma_cyrillic, /* number of values in table */ - - cet_ucs4_to_ecma_cyrillic_links, /* UCS-4 to char links */ - cet_ucs4_to_ecma_cyrillic_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ecma_cyrillic_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0452, 0x0453, 0x0451, 0x0454, 0x0455, 0x0456, 0x0457, - 0x0458, 0x0459, 0x045a, 0x045b, 0x045c, 0x00ad, 0x045e, 0x045f, - 0x2116, 0x0402, 0x0403, 0x0401, 0x0404, 0x0405, 0x0406, 0x0407, - 0x0408, 0x0409, 0x040a, 0x040b, 0x040c, 0x00a4, 0x040e, 0x040f, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; -*/ - -#endif diff --git a/gpsbabel/cet/es.h b/gpsbabel/cet/es.h deleted file mode 100644 index 4fd66e8a0..000000000 --- a/gpsbabel/cet/es.h +++ /dev/null @@ -1,132 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ES" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef es_h -#define es_h - -#define cet_cs_name_es "ES" - -const char *cet_cs_alias_es[] = -{ - "ES", "ISO646-ES", "iso-ir-17", NULL -}; - -#define cet_ucs4_ofs_es 35 -#define cet_ucs4_cnt_es 93 - -const int cet_ucs4_map_es[cet_ucs4_cnt_es] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x00a7, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x00a1, 0x00d1, 0x00bf, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00b0, 0x00f1, 0x00e7, 0x007e, 0x007f -}; - -#define cet_ucs4_to_es_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_es_links[cet_ucs4_to_es_ct] = -{ - {0x00a1, 0x5b} /* exclamation mark */, - {0x00a3, 0x23} /* sign */, - {0x00a7, 0x40} /* sign */, - {0x00b0, 0x7b} /* sign */, - {0x00bf, 0x5d} /* question mark */, - {0x00d1, 0x5c} /* capital letter n with tilde */, - {0x00e7, 0x7d} /* small letter c with cedilla */, - {0x00f1, 0x7c} /* small letter n with tilde */ -}; - -/* -#define cet_ucs4_to_es_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_es_extra[cet_ucs4_to_es_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_es = /* defined in cet.h */ -{ - cet_cs_name_es, /* name of character set */ - cet_cs_alias_es, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_es, /* char to UCS-4 value table */ - cet_ucs4_ofs_es, /* first non standard character */ - cet_ucs4_cnt_es, /* number of values in table */ - - cet_ucs4_to_es_links, /* UCS-4 to char links */ - cet_ucs4_to_es_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int es_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00a1, 0x00d1, 0x00bf, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00b0, 0x00f1, 0x00e7, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/es2.h b/gpsbabel/cet/es2.h deleted file mode 100644 index ec3e2a91b..000000000 --- a/gpsbabel/cet/es2.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ES2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef es2_h -#define es2_h - -#define cet_cs_name_es2 "ES2" - -const char *cet_cs_alias_es2[] = -{ - "ES2", "ISO646-ES2", "iso-ir-85", NULL -}; - -#define cet_ucs4_ofs_es2 64 -#define cet_ucs4_cnt_es2 64 - -const int cet_ucs4_map_es2[cet_ucs4_cnt_es2] = -{ - 0x2022, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00a1, 0x00d1, 0x00c7, 0x00bf, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00b4, 0x00f1, 0x00e7, 0x00a8, 0x007f -}; - -#define cet_ucs4_to_es2_ct 9 - -const cet_ucs4_link_t cet_ucs4_to_es2_links[cet_ucs4_to_es2_ct] = -{ - {0x00a1, 0x5b} /* exclamation mark */, - {0x00a8, 0x7e} /* diaeresis */, - {0x00b4, 0x7b} /* accent */, - {0x00bf, 0x5e} /* question mark */, - {0x00c7, 0x5d} /* capital letter c with cedilla */, - {0x00d1, 0x5c} /* capital letter n with tilde */, - {0x00e7, 0x7d} /* small letter c with cedilla */, - {0x00f1, 0x7c} /* small letter n with tilde */, - {0x2022, 0x40} /* puce */ -}; - -/* -#define cet_ucs4_to_es2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_es2_extra[cet_ucs4_to_es2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_es2 = /* defined in cet.h */ -{ - cet_cs_name_es2, /* name of character set */ - cet_cs_alias_es2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_es2, /* char to UCS-4 value table */ - cet_ucs4_ofs_es2, /* first non standard character */ - cet_ucs4_cnt_es2, /* number of values in table */ - - cet_ucs4_to_es2_links, /* UCS-4 to char links */ - cet_ucs4_to_es2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int es2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x2022, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00a1, 0x00d1, 0x00c7, 0x00bf, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00b4, 0x00f1, 0x00e7, 0x00a8, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/gb_1988_80.h b/gpsbabel/cet/gb_1988_80.h deleted file mode 100644 index 90cb5fbb0..000000000 --- a/gpsbabel/cet/gb_1988_80.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "GB_1988-80" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef gb_1988_80_h -#define gb_1988_80_h - -#define cet_cs_name_gb_1988_80 "GB_1988-80" - -const char *cet_cs_alias_gb_1988_80[] = -{ - "GB_1988-80", "cn", "csISO57GB1988", "ISO646-CN", - "iso-ir-57", NULL -}; - -#define cet_ucs4_ofs_gb_1988_80 36 -#define cet_ucs4_cnt_gb_1988_80 92 - -const int cet_ucs4_map_gb_1988_80[cet_ucs4_cnt_gb_1988_80] = -{ - 0x00a5, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x203e, 0x007f -}; - -#define cet_ucs4_to_gb_1988_80_ct 2 - -const cet_ucs4_link_t cet_ucs4_to_gb_1988_80_links[cet_ucs4_to_gb_1988_80_ct] = -{ - {0x00a5, 0x24} /* sign */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_gb_1988_80_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_gb_1988_80_extra[cet_ucs4_to_gb_1988_80_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_gb_1988_80 = /* defined in cet.h */ -{ - cet_cs_name_gb_1988_80, /* name of character set */ - cet_cs_alias_gb_1988_80, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_gb_1988_80, /* char to UCS-4 value table */ - cet_ucs4_ofs_gb_1988_80, /* first non standard character */ - cet_ucs4_cnt_gb_1988_80, /* number of values in table */ - - cet_ucs4_to_gb_1988_80_links, /* UCS-4 to char links */ - cet_ucs4_to_gb_1988_80_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int gb_1988_80_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a5, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/gost_19768_87.h b/gpsbabel/cet/gost_19768_87.h deleted file mode 100644 index 6a18ac504..000000000 --- a/gpsbabel/cet/gost_19768_87.h +++ /dev/null @@ -1,189 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "GOST_19768-87" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef gost_19768_87_h -#define gost_19768_87_h - -#define cet_cs_name_gost_19768_87 "GOST_19768-87" - -const char *cet_cs_alias_gost_19768_87[] = -{ - "GOST_19768-87", "iso-ir-153", "ST_SEV_358-88", NULL -}; - -#define cet_ucs4_ofs_gost_19768_87 161 -#define cet_ucs4_cnt_gost_19768_87 81 - -const int cet_ucs4_map_gost_19768_87[cet_ucs4_cnt_gost_19768_87] = -{ - 0x0401, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 0x00ad, -1, -1, 0x0410, - 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, - 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, 0x0420, - 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, - 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, 0x0430, - 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, - 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, 0x0440, - 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, - 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f, -1, - 0x0451 -}; - -#define cet_ucs4_to_gost_19768_87_ct 66 - -const cet_ucs4_link_t cet_ucs4_to_gost_19768_87_links[cet_ucs4_to_gost_19768_87_ct] = -{ - {0x0401, 0xa1} /* capital letter io */, - {0x0410, 0xb0} /* capital letter a */, - {0x0411, 0xb1} /* capital letter be */, - {0x0412, 0xb2} /* capital letter ve */, - {0x0413, 0xb3} /* capital letter ghe */, - {0x0414, 0xb4} /* capital letter de */, - {0x0415, 0xb5} /* capital letter ie */, - {0x0416, 0xb6} /* capital letter zhe */, - {0x0417, 0xb7} /* capital letter ze */, - {0x0418, 0xb8} /* capital letter i */, - {0x0419, 0xb9} /* capital letter short i */, - {0x041a, 0xba} /* capital letter ka */, - {0x041b, 0xbb} /* capital letter el */, - {0x041c, 0xbc} /* capital letter em */, - {0x041d, 0xbd} /* capital letter en */, - {0x041e, 0xbe} /* capital letter o */, - {0x041f, 0xbf} /* capital letter pe */, - {0x0420, 0xc0} /* capital letter er */, - {0x0421, 0xc1} /* capital letter es */, - {0x0422, 0xc2} /* capital letter te */, - {0x0423, 0xc3} /* capital letter u */, - {0x0424, 0xc4} /* capital letter ef */, - {0x0425, 0xc5} /* capital letter ha */, - {0x0426, 0xc6} /* capital letter tse */, - {0x0427, 0xc7} /* capital letter che */, - {0x0428, 0xc8} /* capital letter sha */, - {0x0429, 0xc9} /* capital letter shcha */, - {0x042a, 0xca} /* capital letter hard sign */, - {0x042b, 0xcb} /* capital letter yeru */, - {0x042c, 0xcc} /* capital letter soft sign */, - {0x042d, 0xcd} /* capital letter e */, - {0x042e, 0xce} /* capital letter yu */, - {0x042f, 0xcf} /* capital letter ya */, - {0x0430, 0xd0} /* small letter a */, - {0x0431, 0xd1} /* small letter be */, - {0x0432, 0xd2} /* small letter ve */, - {0x0433, 0xd3} /* small letter ghe */, - {0x0434, 0xd4} /* small letter de */, - {0x0435, 0xd5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xd7} /* small letter ze */, - {0x0438, 0xd8} /* small letter i */, - {0x0439, 0xd9} /* small letter short i */, - {0x043a, 0xda} /* small letter ka */, - {0x043b, 0xdb} /* small letter el */, - {0x043c, 0xdc} /* small letter em */, - {0x043d, 0xdd} /* small letter en */, - {0x043e, 0xde} /* small letter o */, - {0x043f, 0xdf} /* small letter pe */, - {0x0440, 0xe0} /* small letter er */, - {0x0441, 0xe1} /* small letter es */, - {0x0442, 0xe2} /* small letter te */, - {0x0443, 0xe3} /* small letter u */, - {0x0444, 0xe4} /* small letter ef */, - {0x0445, 0xe5} /* small letter ha */, - {0x0446, 0xe6} /* small letter tse */, - {0x0447, 0xe7} /* small letter che */, - {0x0448, 0xe8} /* small letter sha */, - {0x0449, 0xe9} /* small letter shcha */, - {0x044a, 0xea} /* small letter hard sign */, - {0x044b, 0xeb} /* small letter yeru */, - {0x044c, 0xec} /* small letter soft sign */, - {0x044d, 0xed} /* small letter e */, - {0x044e, 0xee} /* small letter yu */, - {0x044f, 0xef} /* small letter ya */, - {0x0451, 0xf1} /* small letter io */ -}; - -/* -#define cet_ucs4_to_gost_19768_87_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_gost_19768_87_extra[cet_ucs4_to_gost_19768_87_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_gost_19768_87 = /* defined in cet.h */ -{ - cet_cs_name_gost_19768_87, /* name of character set */ - cet_cs_alias_gost_19768_87, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_gost_19768_87, /* char to UCS-4 value table */ - cet_ucs4_ofs_gost_19768_87, /* first non standard character */ - cet_ucs4_cnt_gost_19768_87, /* number of values in table */ - - cet_ucs4_to_gost_19768_87_links, /* UCS-4 to char links */ - cet_ucs4_to_gost_19768_87_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int gost_19768_87_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0401, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 0x00ad, -1, -1, - 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, - 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, - 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, - 0x0428, 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, - 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, - 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, - 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, - 0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f, - -1, 0x0451, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/hp_roman8.h b/gpsbabel/cet/hp_roman8.h deleted file mode 100644 index 8663e43b8..000000000 --- a/gpsbabel/cet/hp_roman8.h +++ /dev/null @@ -1,219 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "hp-roman8" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef hp_roman8_h -#define hp_roman8_h - -#define cet_cs_name_hp_roman8 "hp-roman8" - -const char *cet_cs_alias_hp_roman8[] = -{ - "hp-roman8", "csHPRoman8", "r8", "roman8", - NULL -}; - -#define cet_ucs4_ofs_hp_roman8 161 -#define cet_ucs4_cnt_hp_roman8 94 - -const int cet_ucs4_map_hp_roman8[cet_ucs4_cnt_hp_roman8] = -{ - 0x00c0, 0x00c2, 0x00c8, 0x00ca, 0x00cb, 0x00ce, 0x00cf, 0x00b4, - 0x02cb, 0x02c6, 0x00a8, 0x02dc, 0x00d9, 0x00db, 0x20a4, 0x00af, - 0x00dd, 0x00fd, 0x00b0, 0x00c7, 0x00e7, 0x00d1, 0x00f1, 0x00a1, - 0x00bf, 0x00a4, 0x00a3, 0x00a5, 0x00a7, 0x0192, 0x00a2, 0x00e2, - 0x00ea, 0x00f4, 0x00fb, 0x00e1, 0x00e9, 0x00f3, 0x00fa, 0x00e0, - 0x00e8, 0x00f2, 0x00f9, 0x00e4, 0x00eb, 0x00f6, 0x00fc, 0x00c5, - 0x00ee, 0x00d8, 0x00c6, 0x00e5, 0x00ed, 0x00f8, 0x00e6, 0x00c4, - 0x00ec, 0x00d6, 0x00dc, 0x00c9, 0x00ef, 0x00df, 0x00d4, 0x00c1, - 0x00c3, 0x00e3, 0x00d0, 0x00f0, 0x00cd, 0x00cc, 0x00d3, 0x00d2, - 0x00d5, 0x00f5, 0x0160, 0x0161, 0x00da, 0x0178, 0x00ff, 0x00de, - 0x00fe, 0x00b7, 0x00b5, 0x00b6, 0x00be, 0x2014, 0x00bc, 0x00bd, - 0x00aa, 0x00ba, 0x00ab, 0x25a0, 0x00bb, 0x00b1 -}; - -#define cet_ucs4_to_hp_roman8_ct 94 - -const cet_ucs4_link_t cet_ucs4_to_hp_roman8_links[cet_ucs4_to_hp_roman8_ct] = -{ - {0x00a1, 0xb8} /* exclamation mark */, - {0x00a2, 0xbf} /* sign */, - {0x00a3, 0xbb} /* sign */, - {0x00a4, 0xba} /* sign */, - {0x00a5, 0xbc} /* sign */, - {0x00a7, 0xbd} /* sign */, - {0x00a8, 0xab} /* diaeresis */, - {0x00aa, 0xf9} /* ordinal indicator */, - {0x00ab, 0xfb} /* double angle quotation mark */, - {0x00af, 0xb0} /* macron */, - {0x00b0, 0xb3} /* sign */, - {0x00b1, 0xfe} /* sign */, - {0x00b4, 0xa8} /* accent */, - {0x00b5, 0xf3} /* sign */, - {0x00b6, 0xf4} /* sign */, - {0x00b7, 0xf2} /* dot */, - {0x00ba, 0xfa} /* ordinal indicator */, - {0x00bb, 0xfd} /* double angle quotation mark */, - {0x00bc, 0xf7} /* fraction one quarter */, - {0x00bd, 0xf8} /* fraction one half */, - {0x00be, 0xf5} /* fraction three quarters */, - {0x00bf, 0xb9} /* question mark */, - {0x00c0, 0xa1} /* capital letter a with grave */, - {0x00c1, 0xe0} /* capital letter a with acute */, - {0x00c2, 0xa2} /* capital letter a with circumflex */, - {0x00c3, 0xe1} /* capital letter a with tilde */, - {0x00c4, 0xd8} /* capital letter a with diaeresis */, - {0x00c5, 0xd0} /* capital letter a with ring above */, - {0x00c6, 0xd3} /* capital letter ae */, - {0x00c7, 0xb4} /* capital letter c with cedilla */, - {0x00c8, 0xa3} /* capital letter e with grave */, - {0x00c9, 0xdc} /* capital letter e with acute */, - {0x00ca, 0xa4} /* capital letter e with circumflex */, - {0x00cb, 0xa5} /* capital letter e with diaeresis */, - {0x00cc, 0xe6} /* capital letter i with grave */, - {0x00cd, 0xe5} /* capital letter i with acute */, - {0x00ce, 0xa6} /* capital letter i with circumflex */, - {0x00cf, 0xa7} /* capital letter i with diaeresis */, - {0x00d0, 0xe3} /* capital letter eth (icelandic) */, - {0x00d1, 0xb6} /* capital letter n with tilde */, - {0x00d2, 0xe8} /* capital letter o with grave */, - {0x00d3, 0xe7} /* capital letter o with acute */, - {0x00d4, 0xdf} /* capital letter o with circumflex */, - {0x00d5, 0xe9} /* capital letter o with tilde */, - {0x00d6, 0xda} /* capital letter o with diaeresis */, - {0x00d8, 0xd2} /* capital letter o with stroke */, - {0x00d9, 0xad} /* capital letter u with grave */, - {0x00da, 0xed} /* capital letter u with acute */, - {0x00db, 0xae} /* capital letter u with circumflex */, - {0x00dc, 0xdb} /* capital letter u with diaeresis */, - {0x00dd, 0xb1} /* capital letter y with acute */, - {0x00de, 0xf0} /* capital letter thorn (icelandic) */, - {0x00df, 0xde} /* small letter sharp s (german) */, - {0x00e0, 0xc8} /* small letter a with grave */, - {0x00e1, 0xc4} /* small letter a with acute */, - {0x00e2, 0xc0} /* small letter a with circumflex */, - {0x00e3, 0xe2} /* small letter a with tilde */, - {0x00e4, 0xcc} /* small letter a with diaeresis */, - {0x00e5, 0xd4} /* small letter a with ring above */, - {0x00e6, 0xd7} /* small letter ae */, - {0x00e7, 0xb5} /* small letter c with cedilla */, - {0x00e8, 0xc9} /* small letter e with grave */, - {0x00e9, 0xc5} /* small letter e with acute */, - {0x00ea, 0xc1} /* small letter e with circumflex */, - {0x00eb, 0xcd} /* small letter e with diaeresis */, - {0x00ec, 0xd9} /* small letter i with grave */, - {0x00ed, 0xd5} /* small letter i with acute */, - {0x00ee, 0xd1} /* small letter i with circumflex */, - {0x00ef, 0xdd} /* small letter i with diaeresis */, - {0x00f0, 0xe4} /* small letter eth (icelandic) */, - {0x00f1, 0xb7} /* small letter n with tilde */, - {0x00f2, 0xca} /* small letter o with grave */, - {0x00f3, 0xc6} /* small letter o with acute */, - {0x00f4, 0xc2} /* small letter o with circumflex */, - {0x00f5, 0xea} /* small letter o with tilde */, - {0x00f6, 0xce} /* small letter o with diaeresis */, - {0x00f8, 0xd6} /* small letter o with stroke */, - {0x00f9, 0xcb} /* small letter u with grave */, - {0x00fa, 0xc7} /* small letter u with acute */, - {0x00fb, 0xc3} /* small letter u with circumflex */, - {0x00fc, 0xcf} /* small letter u with diaeresis */, - {0x00fd, 0xb2} /* small letter y with acute */, - {0x00fe, 0xf1} /* small letter thorn (icelandic) */, - {0x00ff, 0xef} /* small letter y with diaeresis */, - {0x0160, 0xeb} /* capital letter s with caron */, - {0x0161, 0xec} /* small letter s with caron */, - {0x0178, 0xee} /* capital letter y with diaeresis */, - {0x0192, 0xbe} /* minuscule latine f hameçon */, - {0x02c6, 0xaa} /* modificative accent circonflexe */, - {0x02cb, 0xa9} /* modificative accent grave */, - {0x02dc, 0xac} /* tilde */, - {0x2014, 0xf6} /* dash */, - {0x20a4, 0xaf} /* sign */, - {0x25a0, 0xfc} /* square */ -}; - -/* -#define cet_ucs4_to_hp_roman8_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_hp_roman8_extra[cet_ucs4_to_hp_roman8_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_hp_roman8 = /* defined in cet.h */ -{ - cet_cs_name_hp_roman8, /* name of character set */ - cet_cs_alias_hp_roman8, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_hp_roman8, /* char to UCS-4 value table */ - cet_ucs4_ofs_hp_roman8, /* first non standard character */ - cet_ucs4_cnt_hp_roman8, /* number of values in table */ - - cet_ucs4_to_hp_roman8_links, /* UCS-4 to char links */ - cet_ucs4_to_hp_roman8_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int hp_roman8_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00c0, 0x00c2, 0x00c8, 0x00ca, 0x00cb, 0x00ce, 0x00cf, - 0x00b4, 0x02cb, 0x02c6, 0x00a8, 0x02dc, 0x00d9, 0x00db, 0x20a4, - 0x00af, 0x00dd, 0x00fd, 0x00b0, 0x00c7, 0x00e7, 0x00d1, 0x00f1, - 0x00a1, 0x00bf, 0x00a4, 0x00a3, 0x00a5, 0x00a7, 0x0192, 0x00a2, - 0x00e2, 0x00ea, 0x00f4, 0x00fb, 0x00e1, 0x00e9, 0x00f3, 0x00fa, - 0x00e0, 0x00e8, 0x00f2, 0x00f9, 0x00e4, 0x00eb, 0x00f6, 0x00fc, - 0x00c5, 0x00ee, 0x00d8, 0x00c6, 0x00e5, 0x00ed, 0x00f8, 0x00e6, - 0x00c4, 0x00ec, 0x00d6, 0x00dc, 0x00c9, 0x00ef, 0x00df, 0x00d4, - 0x00c1, 0x00c3, 0x00e3, 0x00d0, 0x00f0, 0x00cd, 0x00cc, 0x00d3, - 0x00d2, 0x00d5, 0x00f5, 0x0160, 0x0161, 0x00da, 0x0178, 0x00ff, - 0x00de, 0x00fe, 0x00b7, 0x00b5, 0x00b6, 0x00be, 0x2014, 0x00bc, - 0x00bd, 0x00aa, 0x00ba, 0x00ab, 0x25a0, 0x00bb, 0x00b1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm037.h b/gpsbabel/cet/ibm037.h deleted file mode 100644 index 3e4913720..000000000 --- a/gpsbabel/cet/ibm037.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM037" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm037_h -#define ibm037_h - -#define cet_cs_name_ibm037 "IBM037" - -const char *cet_cs_alias_ibm037[] = -{ - "IBM037", "037", "CP037", "ebcdic-cp-ca", - "ebcdic-cp-nl", "ebcdic-cp-us", "ebcdic-cp-wt", NULL -}; - -#define cet_ucs4_ofs_ibm037 4 -#define cet_ucs4_cnt_ibm037 252 - -const int cet_ucs4_map_ibm037[cet_ucs4_cnt_ibm037] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x00a2, 0x002e, - 0x003c, 0x0028, 0x002b, 0x007c, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x0021, 0x0024, - 0x002a, 0x0029, 0x003b, 0x00ac, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x007e, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x005e, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x005b, 0x005d, - 0x00af, 0x00a8, 0x00b4, 0x00d7, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm037_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm037_links[cet_ucs4_to_ibm037_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x5a} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0xba} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0xbb} /* square bracket */, - {0x005e, 0xb0} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0x4f} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xa1} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0x4a} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0x5f} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00af, 0xbc} /* macron */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */ -}; - -/* -#define cet_ucs4_to_ibm037_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm037_extra[cet_ucs4_to_ibm037_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm037 = /* defined in cet.h */ -{ - cet_cs_name_ibm037, /* name of character set */ - cet_cs_alias_ibm037, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm037, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm037, /* first non standard character */ - cet_ucs4_cnt_ibm037, /* number of values in table */ - - cet_ucs4_to_ibm037_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm037_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm037_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x00a2, 0x002e, 0x003c, 0x0028, 0x002b, 0x007c, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x0021, 0x0024, 0x002a, 0x0029, 0x003b, 0x00ac, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x007e, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x005e, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x005b, 0x005d, 0x00af, 0x00a8, 0x00b4, 0x00d7, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm1004.h b/gpsbabel/cet/ibm1004.h deleted file mode 100644 index 152dcd9d0..000000000 --- a/gpsbabel/cet/ibm1004.h +++ /dev/null @@ -1,152 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM1004" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm1004_h -#define ibm1004_h - -#define cet_cs_name_ibm1004 "IBM1004" - -const char *cet_cs_alias_ibm1004[] = -{ - "IBM1004", "1004", "CP1004", "os2latin1", - NULL -}; - -#define cet_ucs4_ofs_ibm1004 128 -#define cet_ucs4_cnt_ibm1004 128 - -const int cet_ucs4_map_ibm1004[cet_ucs4_cnt_ibm1004] = -{ - -1, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - 0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x02dc, 0x2122, 0x0161, 0x203a, 0x0153, -1, -1, 0x0178, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff -}; - -#define cet_ucs4_to_ibm1004_ct 23 - -const cet_ucs4_link_t cet_ucs4_to_ibm1004_links[cet_ucs4_to_ibm1004_ct] = -{ - {0x0152, 0x8c} /* capital ligature oe */, - {0x0153, 0x9c} /* small ligature oe */, - {0x0160, 0x8a} /* capital letter s with caron */, - {0x0161, 0x9a} /* small letter s with caron */, - {0x0178, 0x9f} /* capital letter y with diaeresis */, - {0x02c6, 0x88} /* modificative accent circonflexe */, - {0x02dc, 0x98} /* tilde */, - {0x2013, 0x96} /* dash */, - {0x2014, 0x97} /* dash */, - {0x2018, 0x91} /* single quotation mark */, - {0x2019, 0x92} /* single quotation mark */, - {0x201a, 0x82} /* low-9 quotation mark */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x94} /* double quotation mark */, - {0x201e, 0x84} /* low-9 quotation mark */, - {0x2020, 0x86} /* dagger */, - {0x2021, 0x87} /* dagger */, - {0x2022, 0x95} /* puce */, - {0x2026, 0x85} /* horizontal ellipsis */, - {0x2030, 0x89} /* mille sign */, - {0x2039, 0x8b} /* left-pointing angle quotation mark */, - {0x203a, 0x9b} /* right-pointing angle quotation mark */, - {0x2122, 0x99} /* mark sign */ -}; - -/* -#define cet_ucs4_to_ibm1004_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm1004_extra[cet_ucs4_to_ibm1004_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm1004 = /* defined in cet.h */ -{ - cet_cs_name_ibm1004, /* name of character set */ - cet_cs_alias_ibm1004, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm1004, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm1004, /* first non standard character */ - cet_ucs4_cnt_ibm1004, /* number of values in table */ - - cet_ucs4_to_ibm1004_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm1004_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm1004_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, 0x201a, -1, 0x201e, 0x2026, 0x2020, 0x2021, - 0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, -1, -1, -1, - -1, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, - 0x02dc, 0x2122, 0x0161, 0x203a, 0x0153, -1, -1, 0x0178, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm1026.h b/gpsbabel/cet/ibm1026.h deleted file mode 100644 index 18b86c1aa..000000000 --- a/gpsbabel/cet/ibm1026.h +++ /dev/null @@ -1,380 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM1026" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm1026_h -#define ibm1026_h - -#define cet_cs_name_ibm1026 "IBM1026" - -const char *cet_cs_alias_ibm1026[] = -{ - "IBM1026", "1026", "CP1026", NULL -}; - -#define cet_ucs4_ofs_ibm1026 4 -#define cet_ucs4_cnt_ibm1026 252 - -const int cet_ucs4_map_ibm1026[cet_ucs4_cnt_ibm1026] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x007b, 0x00f1, 0x00c7, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x011e, 0x0130, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x005b, 0x00d1, 0x015f, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0131, 0x003a, 0x00d6, - 0x015e, 0x0027, 0x003d, 0x00dc, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x007d, 0x0060, 0x00a6, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x02db, 0x00c6, 0x00a4, 0x00b5, 0x00f6, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x005d, 0x0024, 0x0040, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x2014, 0x00a8, 0x00b4, 0x00d7, 0x00e7, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x007e, 0x00f2, 0x00f3, 0x00f5, 0x011f, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x005c, 0x00f9, 0x00fa, 0x00ff, 0x00fc, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x0023, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x0022, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm1026_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm1026_links[cet_ucs4_to_ibm1026_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0xfc} /* mark */, - {0x0023, 0xec} /* sign */, - {0x0024, 0xad} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0xae} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x68} /* square bracket */, - {0x005c, 0xdc} /* solidus */, - {0x005d, 0xac} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x8d} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x48} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x8c} /* curly bracket */, - {0x007e, 0xcc} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x8e} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x4a} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0x7b} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0x7f} /* capital letter u with diaeresis */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0xc0} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xa1} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xe0} /* small letter u with diaeresis */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x011e, 0x5a} /* capital letter g with breve */, - {0x011f, 0xd0} /* small letter g with breve */, - {0x0130, 0x5b} /* capital letter i with dot above */, - {0x0131, 0x79} /* small letter i dotless */, - {0x015e, 0x7c} /* capital letter s with cedilla */, - {0x015f, 0x6a} /* small letter s with cedilla */, - {0x02db, 0x9d} /* ogonek */, - {0x2014, 0xbc} /* dash */ -}; - -/* -#define cet_ucs4_to_ibm1026_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm1026_extra[cet_ucs4_to_ibm1026_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm1026 = /* defined in cet.h */ -{ - cet_cs_name_ibm1026, /* name of character set */ - cet_cs_alias_ibm1026, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm1026, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm1026, /* first non standard character */ - cet_ucs4_cnt_ibm1026, /* number of values in table */ - - cet_ucs4_to_ibm1026_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm1026_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm1026_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x007b, 0x00f1, 0x00c7, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x011e, 0x0130, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x005b, 0x00d1, 0x015f, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0131, 0x003a, 0x00d6, 0x015e, 0x0027, 0x003d, 0x00dc, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x007d, 0x0060, 0x00a6, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x02db, 0x00c6, 0x00a4, - 0x00b5, 0x00f6, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x005d, 0x0024, 0x0040, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x2014, 0x00a8, 0x00b4, 0x00d7, - 0x00e7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x007e, 0x00f2, 0x00f3, 0x00f5, - 0x011f, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x005c, 0x00f9, 0x00fa, 0x00ff, - 0x00fc, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x0023, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x0022, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm1047.h b/gpsbabel/cet/ibm1047.h deleted file mode 100644 index 873d11d3c..000000000 --- a/gpsbabel/cet/ibm1047.h +++ /dev/null @@ -1,380 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM1047" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm1047_h -#define ibm1047_h - -#define cet_cs_name_ibm1047 "IBM1047" - -const char *cet_cs_alias_ibm1047[] = -{ - "IBM1047", "1047", "CP1047", NULL -}; - -#define cet_ucs4_ofs_ibm1047 4 -#define cet_ucs4_cnt_ibm1047 252 - -const int cet_ucs4_map_ibm1047[cet_ucs4_cnt_ibm1047] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x00a2, 0x002e, - 0x003c, 0x0028, 0x002b, 0x007c, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x0021, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x007e, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x005b, 0x00de, 0x00ae, 0x00ac, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00dd, 0x00a8, - 0x00af, 0x005d, 0x00b4, 0x00d7, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm1047_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm1047_links[cet_ucs4_to_ibm1047_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x5a} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0xad} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0xbd} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0x4f} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xa1} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0x4a} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbb} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xb0} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00af, 0xbc} /* macron */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xba} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */ -}; - -/* -#define cet_ucs4_to_ibm1047_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm1047_extra[cet_ucs4_to_ibm1047_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm1047 = /* defined in cet.h */ -{ - cet_cs_name_ibm1047, /* name of character set */ - cet_cs_alias_ibm1047, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm1047, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm1047, /* first non standard character */ - cet_ucs4_cnt_ibm1047, /* number of values in table */ - - cet_ucs4_to_ibm1047_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm1047_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm1047_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x00a2, 0x002e, 0x003c, 0x0028, 0x002b, 0x007c, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x0021, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x007e, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x005b, 0x00de, 0x00ae, - 0x00ac, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00dd, 0x00a8, 0x00af, 0x005d, 0x00b4, 0x00d7, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm256.h b/gpsbabel/cet/ibm256.h deleted file mode 100644 index 8603ab569..000000000 --- a/gpsbabel/cet/ibm256.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM256" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm256_h -#define ibm256_h - -#define cet_cs_name_ibm256 "IBM256" - -const char *cet_cs_alias_ibm256[] = -{ - "IBM256", "256", "CP256", "EBCDIC-INT1", - NULL -}; - -#define cet_ucs4_ofs_ibm256 4 -#define cet_ucs4_cnt_ibm256 252 - -const int cet_ucs4_map_ibm256[cet_ucs4_cnt_ibm256] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x005b, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x005d, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x007e, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x20a7, - 0x0192, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x00a8, 0x00b4, 0x2017, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x2003, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm256_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm256_links[cet_ucs4_to_ibm256_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x4a} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0x5a} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xa1} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x0192, 0xb4} /* minuscule latine f hameçon */, - {0x2003, 0xe1} /* space */, - {0x2017, 0xbf} /* low line */, - {0x203e, 0xbc} /* overline */, - {0x20a7, 0xb3} /* sign */ -}; - -/* -#define cet_ucs4_to_ibm256_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm256_extra[cet_ucs4_to_ibm256_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm256 = /* defined in cet.h */ -{ - cet_cs_name_ibm256, /* name of character set */ - cet_cs_alias_ibm256, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm256, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm256, /* first non standard character */ - cet_ucs4_cnt_ibm256, /* number of values in table */ - - cet_ucs4_to_ibm256_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm256_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm256_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x005b, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x005d, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x007e, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x20a7, 0x0192, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x00a8, 0x00b4, 0x2017, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x2003, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm273.h b/gpsbabel/cet/ibm273.h deleted file mode 100644 index 63fd4ddd8..000000000 --- a/gpsbabel/cet/ibm273.h +++ /dev/null @@ -1,380 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM273" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm273_h -#define ibm273_h - -#define cet_cs_name_ibm273 "IBM273" - -const char *cet_cs_alias_ibm273[] = -{ - "IBM273", "273", "CP273", NULL -}; - -#define cet_ucs4_ofs_ibm273 4 -#define cet_ucs4_cnt_ibm273 252 - -const int cet_ucs4_map_ibm273[cet_ucs4_cnt_ibm273] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x007b, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x00c4, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x007e, 0x00dc, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x005b, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00f6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x00a7, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x00df, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x0040, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x00a8, 0x00b4, 0x00d7, 0x00e4, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00a6, 0x00f2, 0x00f3, 0x00f5, 0x00fc, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x007d, 0x00f9, 0x00fa, 0x00ff, 0x00d6, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x005c, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x005d, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm273_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm273_links[cet_ucs4_to_ibm273_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0xb5} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x63} /* square bracket */, - {0x005c, 0xec} /* solidus */, - {0x005d, 0xfc} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x43} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0xdc} /* curly bracket */, - {0x007e, 0x59} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0xcc} /* bar */, - {0x00a7, 0x7c} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x4a} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xe0} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0x5a} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0xa1} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0xc0} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0x6a} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xd0} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm273_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm273_extra[cet_ucs4_to_ibm273_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm273 = /* defined in cet.h */ -{ - cet_cs_name_ibm273, /* name of character set */ - cet_cs_alias_ibm273, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm273, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm273, /* first non standard character */ - cet_ucs4_cnt_ibm273, /* number of values in table */ - - cet_ucs4_to_ibm273_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm273_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm273_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x007b, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x00c4, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x007e, 0x00dc, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x005b, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00f6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x00a7, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x00df, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x0040, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x00a8, 0x00b4, 0x00d7, - 0x00e4, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00a6, 0x00f2, 0x00f3, 0x00f5, - 0x00fc, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x007d, 0x00f9, 0x00fa, 0x00ff, - 0x00d6, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x005c, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x005d, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm277.h b/gpsbabel/cet/ibm277.h deleted file mode 100644 index c1356e86f..000000000 --- a/gpsbabel/cet/ibm277.h +++ /dev/null @@ -1,380 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM277" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm277_h -#define ibm277_h - -#define cet_cs_name_ibm277 "IBM277" - -const char *cet_cs_alias_ibm277[] = -{ - "IBM277", "EBCDIC-CP-DK", "EBCDIC-CP-NO", NULL -}; - -#define cet_ucs4_ofs_ibm277 4 -#define cet_ucs4_cnt_ibm277 252 - -const int cet_ucs4_map_ibm277[cet_ucs4_cnt_ibm277] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x007d, 0x00e7, 0x00f1, 0x0023, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x00a4, 0x00c5, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x0024, 0x00c7, 0x00d1, 0x00f8, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00a6, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x00c6, - 0x00d8, 0x0027, 0x003d, 0x0022, 0x0040, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x007b, 0x00b8, 0x005b, 0x005d, 0x00b5, 0x00fc, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x00a8, 0x00b4, 0x00d7, 0x00e6, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x00e5, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x007e, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm277_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm277_links[cet_ucs4_to_ibm277_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x4a} /* sign */, - {0x0024, 0x67} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x80} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x9e} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0x9f} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x9c} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x47} /* curly bracket */, - {0x007e, 0xdc} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x5a} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x70} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x5b} /* capital letter a with ring above */, - {0x00c6, 0x7b} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x7c} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0xd0} /* small letter a with ring above */, - {0x00e6, 0xc0} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x6a} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xa1} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm277_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm277_extra[cet_ucs4_to_ibm277_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm277 = /* defined in cet.h */ -{ - cet_cs_name_ibm277, /* name of character set */ - cet_cs_alias_ibm277, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm277, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm277, /* first non standard character */ - cet_ucs4_cnt_ibm277, /* number of values in table */ - - cet_ucs4_to_ibm277_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm277_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm277_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x007d, - 0x00e7, 0x00f1, 0x0023, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x00a4, 0x00c5, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x0024, - 0x00c7, 0x00d1, 0x00f8, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00a6, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x00c6, 0x00d8, 0x0027, 0x003d, 0x0022, - 0x0040, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x007b, 0x00b8, 0x005b, 0x005d, - 0x00b5, 0x00fc, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x00a8, 0x00b4, 0x00d7, - 0x00e6, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x00e5, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x007e, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm278.h b/gpsbabel/cet/ibm278.h deleted file mode 100644 index c89719db6..000000000 --- a/gpsbabel/cet/ibm278.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM278" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm278_h -#define ibm278_h - -#define cet_cs_name_ibm278 "IBM278" - -const char *cet_cs_alias_ibm278[] = -{ - "IBM278", "278", "CP278", "ebcdic-cp-fi", - "ebcdic-cp-se", NULL -}; - -#define cet_ucs4_ofs_ibm278 4 -#define cet_ucs4_cnt_ibm278 252 - -const int cet_ucs4_map_ibm278[cet_ucs4_cnt_ibm278] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x007b, - 0x00e0, 0x00e1, 0x00e3, 0x007d, 0x00e7, 0x00f1, 0x00a7, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x0060, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x00a4, 0x00c5, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x0023, - 0x00c0, 0x00c1, 0x00c3, 0x0024, 0x00c7, 0x00d1, 0x00f6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00e9, 0x003a, 0x00c4, - 0x00d6, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x005d, 0x00b5, 0x00fc, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x005b, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x00a8, 0x00b4, 0x00d7, 0x00e4, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00a6, 0x00f2, 0x00f3, 0x00f5, 0x00e5, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x007e, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x0040, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm278_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm278_links[cet_ucs4_to_ibm278_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x63} /* sign */, - {0x0024, 0x67} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0xec} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0xb5} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0x9f} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x51} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x43} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x47} /* curly bracket */, - {0x007e, 0xdc} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x5a} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0xcc} /* bar */, - {0x00a7, 0x4a} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x7b} /* capital letter a with diaeresis */, - {0x00c5, 0x5b} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0x7c} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0xc0} /* small letter a with diaeresis */, - {0x00e5, 0xd0} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x79} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0x6a} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xa1} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm278_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm278_extra[cet_ucs4_to_ibm278_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm278 = /* defined in cet.h */ -{ - cet_cs_name_ibm278, /* name of character set */ - cet_cs_alias_ibm278, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm278, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm278, /* first non standard character */ - cet_ucs4_cnt_ibm278, /* number of values in table */ - - cet_ucs4_to_ibm278_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm278_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm278_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x007b, 0x00e0, 0x00e1, 0x00e3, 0x007d, - 0x00e7, 0x00f1, 0x00a7, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x0060, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x00a4, 0x00c5, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x0023, 0x00c0, 0x00c1, 0x00c3, 0x0024, - 0x00c7, 0x00d1, 0x00f6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x00e9, 0x003a, 0x00c4, 0x00d6, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x005d, - 0x00b5, 0x00fc, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x005b, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x00a8, 0x00b4, 0x00d7, - 0x00e4, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00a6, 0x00f2, 0x00f3, 0x00f5, - 0x00e5, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x007e, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x0040, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm280.h b/gpsbabel/cet/ibm280.h deleted file mode 100644 index da3e7e30d..000000000 --- a/gpsbabel/cet/ibm280.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM280" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm280_h -#define ibm280_h - -#define cet_cs_name_ibm280 "IBM280" - -const char *cet_cs_alias_ibm280[] = -{ - "IBM280", "280", "CP280", "ebcdic-cp-it", - NULL -}; - -#define cet_ucs4_ofs_ibm280 4 -#define cet_ucs4_cnt_ibm280 252 - -const int cet_ucs4_map_ibm280[cet_ucs4_cnt_ibm280] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x007b, 0x00e1, 0x00e3, 0x00e5, 0x005c, 0x00f1, 0x00b0, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x005d, 0x00ea, 0x00eb, - 0x007d, 0x00ed, 0x00ee, 0x00ef, 0x007e, 0x00df, 0x00e9, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00f2, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00f9, 0x003a, 0x00a3, - 0x00a7, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x005b, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x00ec, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x0023, 0x00a5, 0x00b7, - 0x00a9, 0x0040, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x00a8, 0x00b4, 0x00d7, 0x00e0, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00a6, 0x00f3, 0x00f5, 0x00e8, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x0060, 0x00fa, 0x00ff, 0x00e7, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm280_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm280_links[cet_ucs4_to_ibm280_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0xb1} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0xb5} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x90} /* square bracket */, - {0x005c, 0x48} /* solidus */, - {0x005d, 0x51} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0xdd} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x44} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x54} /* curly bracket */, - {0x007e, 0x58} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0x7b} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0xcd} /* bar */, - {0x00a7, 0x7c} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x4a} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0xc0} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0xe0} /* small letter c with cedilla */, - {0x00e8, 0xd0} /* small letter e with grave */, - {0x00e9, 0x5a} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0xa1} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0x6a} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0x79} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm280_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm280_extra[cet_ucs4_to_ibm280_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm280 = /* defined in cet.h */ -{ - cet_cs_name_ibm280, /* name of character set */ - cet_cs_alias_ibm280, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm280, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm280, /* first non standard character */ - cet_ucs4_cnt_ibm280, /* number of values in table */ - - cet_ucs4_to_ibm280_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm280_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm280_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x007b, 0x00e1, 0x00e3, 0x00e5, - 0x005c, 0x00f1, 0x00b0, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x005d, 0x00ea, 0x00eb, 0x007d, 0x00ed, 0x00ee, 0x00ef, - 0x007e, 0x00df, 0x00e9, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00f2, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x00f9, 0x003a, 0x00a3, 0x00a7, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x005b, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x00ec, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x0023, 0x00a5, 0x00b7, 0x00a9, 0x0040, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x00a8, 0x00b4, 0x00d7, - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00a6, 0x00f3, 0x00f5, - 0x00e8, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x0060, 0x00fa, 0x00ff, - 0x00e7, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm284.h b/gpsbabel/cet/ibm284.h deleted file mode 100644 index 84e61712f..000000000 --- a/gpsbabel/cet/ibm284.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM284" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm284_h -#define ibm284_h - -#define cet_cs_name_ibm284 "IBM284" - -const char *cet_cs_alias_ibm284[] = -{ - "IBM284", "284", "CP284", "ebcdic-cp-es", - NULL -}; - -#define cet_ucs4_ofs_ibm284 4 -#define cet_ucs4_cnt_ibm284 252 - -const int cet_ucs4_map_ibm284[cet_ucs4_cnt_ibm284] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00a6, 0x005b, 0x002e, - 0x003c, 0x0028, 0x002b, 0x007c, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x005d, 0x0024, - 0x002a, 0x0029, 0x003b, 0x00ac, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x0023, 0x00f1, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x00d1, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x00a8, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x005e, 0x0021, - 0x203e, 0x007e, 0x00b4, 0x00d7, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm284_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm284_links[cet_ucs4_to_ibm284_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0xbb} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x69} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x4a} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0x5a} /* square bracket */, - {0x005e, 0xba} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0x4f} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xbd} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x49} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xa1} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0x5f} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x7b} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x6a} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm284_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm284_extra[cet_ucs4_to_ibm284_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm284 = /* defined in cet.h */ -{ - cet_cs_name_ibm284, /* name of character set */ - cet_cs_alias_ibm284, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm284, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm284, /* first non standard character */ - cet_ucs4_cnt_ibm284, /* number of values in table */ - - cet_ucs4_to_ibm284_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm284_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm284_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00a6, 0x005b, 0x002e, 0x003c, 0x0028, 0x002b, 0x007c, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x005d, 0x0024, 0x002a, 0x0029, 0x003b, 0x00ac, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x0023, 0x00f1, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x00d1, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x00a8, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x005e, 0x0021, 0x203e, 0x007e, 0x00b4, 0x00d7, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm285.h b/gpsbabel/cet/ibm285.h deleted file mode 100644 index 9fbdd32bb..000000000 --- a/gpsbabel/cet/ibm285.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM285" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm285_h -#define ibm285_h - -#define cet_cs_name_ibm285 "IBM285" - -const char *cet_cs_alias_ibm285[] = -{ - "IBM285", "285", "CP285", "ebcdic-cp-gb", - NULL -}; - -#define cet_ucs4_ofs_ibm285 4 -#define cet_ucs4_cnt_ibm285 252 - -const int cet_ucs4_map_ibm285[cet_ucs4_cnt_ibm285] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x0024, 0x002e, - 0x003c, 0x0028, 0x002b, 0x007c, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x0021, 0x00a3, - 0x002a, 0x0029, 0x003b, 0x00ac, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x203e, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x005b, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x005e, 0x005d, - 0x007e, 0x00a8, 0x00b4, 0x00d7, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm285_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm285_links[cet_ucs4_to_ibm285_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x5a} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x4a} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0xb1} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0xbb} /* square bracket */, - {0x005e, 0xba} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0x4f} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xbc} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0x5b} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0x5f} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xa1} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm285_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm285_extra[cet_ucs4_to_ibm285_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm285 = /* defined in cet.h */ -{ - cet_cs_name_ibm285, /* name of character set */ - cet_cs_alias_ibm285, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm285, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm285, /* first non standard character */ - cet_ucs4_cnt_ibm285, /* number of values in table */ - - cet_ucs4_to_ibm285_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm285_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm285_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x0024, 0x002e, 0x003c, 0x0028, 0x002b, 0x007c, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x0021, 0x00a3, 0x002a, 0x0029, 0x003b, 0x00ac, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x203e, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x005b, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x005e, 0x005d, 0x007e, 0x00a8, 0x00b4, 0x00d7, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm297.h b/gpsbabel/cet/ibm297.h deleted file mode 100644 index 9b327eee5..000000000 --- a/gpsbabel/cet/ibm297.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM297" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm297_h -#define ibm297_h - -#define cet_cs_name_ibm297 "IBM297" - -const char *cet_cs_alias_ibm297[] = -{ - "IBM297", "297", "CP297", "ebcdic-cp-fr", - NULL -}; - -#define cet_ucs4_ofs_ibm297 4 -#define cet_ucs4_cnt_ibm297 252 - -const int cet_ucs4_map_ibm297[cet_ucs4_cnt_ibm297] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x0040, 0x00e1, 0x00e3, 0x00e5, 0x005c, 0x00f1, 0x00b0, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x007b, 0x00ea, 0x00eb, - 0x007d, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x00a7, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00f9, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00b5, 0x003a, 0x00a3, - 0x00e0, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x005b, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x0060, 0x00a8, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x0023, 0x00a5, 0x00b7, - 0x00a9, 0x005d, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x203e, 0x007e, 0x00b4, 0x00d7, 0x00e9, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x00e8, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00a6, 0x00fa, 0x00ff, 0x00e7, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm297_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm297_links[cet_ucs4_to_ibm297_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0xb1} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x44} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x90} /* square bracket */, - {0x005c, 0x48} /* solidus */, - {0x005d, 0xb5} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0xa0} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x51} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x54} /* curly bracket */, - {0x007e, 0xbd} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0x7b} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0xdd} /* bar */, - {0x00a7, 0x5a} /* sign */, - {0x00a8, 0xa1} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00b0, 0x4a} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0x79} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x7c} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0xe0} /* small letter c with cedilla */, - {0x00e8, 0xd0} /* small letter e with grave */, - {0x00e9, 0xc0} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0x6a} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */, - {0x203e, 0xbc} /* overline */ -}; - -/* -#define cet_ucs4_to_ibm297_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm297_extra[cet_ucs4_to_ibm297_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm297 = /* defined in cet.h */ -{ - cet_cs_name_ibm297, /* name of character set */ - cet_cs_alias_ibm297, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm297, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm297, /* first non standard character */ - cet_ucs4_cnt_ibm297, /* number of values in table */ - - cet_ucs4_to_ibm297_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm297_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm297_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x0040, 0x00e1, 0x00e3, 0x00e5, - 0x005c, 0x00f1, 0x00b0, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x007b, 0x00ea, 0x00eb, 0x007d, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x00a7, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00f9, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x00b5, 0x003a, 0x00a3, 0x00e0, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x005b, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x0060, 0x00a8, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x0023, 0x00a5, 0x00b7, 0x00a9, 0x005d, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x203e, 0x007e, 0x00b4, 0x00d7, - 0x00e9, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x00e8, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00a6, 0x00fa, 0x00ff, - 0x00e7, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm437.h b/gpsbabel/cet/ibm437.h deleted file mode 100644 index 7c0520ea8..000000000 --- a/gpsbabel/cet/ibm437.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM437" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm437_h -#define ibm437_h - -#define cet_cs_name_ibm437 "IBM437" - -const char *cet_cs_alias_ibm437[] = -{ - "IBM437", "437", "CP437", NULL -}; - -#define cet_ucs4_ofs_ibm437 128 -#define cet_ucs4_cnt_ibm437 128 - -const int cet_ucs4_map_ibm437[cet_ucs4_cnt_ibm437] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x20a7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm437_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm437_links[cet_ucs4_to_ibm437_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a5, 0x9d} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b5, 0xe6} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00ff, 0x98} /* small letter y with diaeresis */, - {0x0192, 0x9f} /* minuscule latine f hameçon */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x03c6, 0xed} /* small letter phi */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2310, 0xa9} /* not sign */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm437_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm437_extra[cet_ucs4_to_ibm437_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm437 = /* defined in cet.h */ -{ - cet_cs_name_ibm437, /* name of character set */ - cet_cs_alias_ibm437, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm437, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm437, /* first non standard character */ - cet_ucs4_cnt_ibm437, /* number of values in table */ - - cet_ucs4_to_ibm437_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm437_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm437_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00a2, 0x00a3, 0x00a5, 0x20a7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm500.h b/gpsbabel/cet/ibm500.h deleted file mode 100644 index 8d64499a0..000000000 --- a/gpsbabel/cet/ibm500.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM500" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm500_h -#define ibm500_h - -#define cet_cs_name_ibm500 "IBM500" - -const char *cet_cs_alias_ibm500[] = -{ - "IBM500", "500", "500V1", "CP500", - "ebcdic-cp-be", "ebcdic-cp-ch", NULL -}; - -#define cet_ucs4_ofs_ibm500 4 -#define cet_ucs4_cnt_ibm500 252 - -const int cet_ucs4_map_ibm500[cet_ucs4_cnt_ibm500] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x005b, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x005d, 0x0024, - 0x002a, 0x0029, 0x003b, 0x005e, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x0060, 0x003a, 0x0023, - 0x0040, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x00f0, 0x00fd, 0x00fe, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x00e6, 0x00b8, 0x00c6, 0x00a4, 0x00b5, 0x007e, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x00d0, 0x00dd, 0x00de, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x00af, 0x00a8, 0x00b4, 0x00d7, 0x007b, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x00f6, 0x00f2, 0x00f3, 0x00f5, 0x007d, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x005c, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x00d6, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm500_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm500_links[cet_ucs4_to_ibm500_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0x7c} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0x4a} /* square bracket */, - {0x005c, 0xe0} /* solidus */, - {0x005d, 0x5a} /* square bracket */, - {0x005e, 0x5f} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x79} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0xc0} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0xd0} /* curly bracket */, - {0x007e, 0xa1} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00af, 0xbc} /* macron */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xbe} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x9e} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0xac} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0xec} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xae} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0x9c} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xcc} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x8e} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */ -}; - -/* -#define cet_ucs4_to_ibm500_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm500_extra[cet_ucs4_to_ibm500_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm500 = /* defined in cet.h */ -{ - cet_cs_name_ibm500, /* name of character set */ - cet_cs_alias_ibm500, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm500, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm500, /* first non standard character */ - cet_ucs4_cnt_ibm500, /* number of values in table */ - - cet_ucs4_to_ibm500_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm500_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm500_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x005b, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x005d, 0x0024, 0x002a, 0x0029, 0x003b, 0x005e, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x0060, 0x003a, 0x0023, 0x0040, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x00f0, 0x00fd, 0x00fe, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x00e6, 0x00b8, 0x00c6, 0x00a4, - 0x00b5, 0x007e, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x00d0, 0x00dd, 0x00de, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x00af, 0x00a8, 0x00b4, 0x00d7, - 0x007b, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x00f6, 0x00f2, 0x00f3, 0x00f5, - 0x007d, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x005c, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x00d6, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm850.h b/gpsbabel/cet/ibm850.h deleted file mode 100644 index cb4e04ad5..000000000 --- a/gpsbabel/cet/ibm850.h +++ /dev/null @@ -1,257 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM850" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm850_h -#define ibm850_h - -#define cet_cs_name_ibm850 "IBM850" - -const char *cet_cs_alias_ibm850[] = -{ - "IBM850", "850", "CP850", "csPC850Multilingual", - NULL -}; - -#define cet_ucs4_ofs_ibm850 128 -#define cet_ucs4_cnt_ibm850 128 - -const int cet_ucs4_map_ibm850[cet_ucs4_cnt_ibm850] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x00d7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x00ae, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x00c0, - 0x00a9, 0x2563, 0x2551, 0x2557, 0x255d, 0x00a2, 0x00a5, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x00e3, 0x00c3, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x00f0, 0x00d0, 0x00ca, 0x00cb, 0x00c8, 0x0131, 0x00cd, 0x00ce, - 0x00cf, 0x2518, 0x250c, 0x2588, 0x2584, 0x00a6, 0x00cc, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x00d2, 0x00f5, 0x00d5, 0x00b5, 0x00fe, - 0x00de, 0x00da, 0x00db, 0x00d9, 0x00fd, 0x00dd, 0x00af, 0x00b4, - 0x00ad, 0x00b1, 0x2017, 0x00be, 0x00b6, 0x00a7, 0x00f7, 0x00b8, - 0x00b0, 0x00a8, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm850_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm850_links[cet_ucs4_to_ibm850_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0xbd} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a4, 0xcf} /* sign */, - {0x00a5, 0xbe} /* sign */, - {0x00a6, 0xdd} /* bar */, - {0x00a7, 0xf5} /* sign */, - {0x00a8, 0xf9} /* diaeresis */, - {0x00a9, 0xb8} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00ad, 0xf0} /* hyphen */, - {0x00ae, 0xa9} /* sign */, - {0x00af, 0xee} /* macron */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b3, 0xfc} /* three */, - {0x00b4, 0xef} /* accent */, - {0x00b5, 0xe6} /* sign */, - {0x00b6, 0xf4} /* sign */, - {0x00b7, 0xfa} /* dot */, - {0x00b8, 0xf7} /* cedilla */, - {0x00b9, 0xfb} /* one */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00be, 0xf3} /* fraction three quarters */, - {0x00bf, 0xa8} /* question mark */, - {0x00c0, 0xb7} /* capital letter a with grave */, - {0x00c1, 0xb5} /* capital letter a with acute */, - {0x00c2, 0xb6} /* capital letter a with circumflex */, - {0x00c3, 0xc7} /* capital letter a with tilde */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c8, 0xd4} /* capital letter e with grave */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00ca, 0xd2} /* capital letter e with circumflex */, - {0x00cb, 0xd3} /* capital letter e with diaeresis */, - {0x00cc, 0xde} /* capital letter i with grave */, - {0x00cd, 0xd6} /* capital letter i with acute */, - {0x00ce, 0xd7} /* capital letter i with circumflex */, - {0x00cf, 0xd8} /* capital letter i with diaeresis */, - {0x00d0, 0xd1} /* capital letter eth (icelandic) */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d2, 0xe3} /* capital letter o with grave */, - {0x00d3, 0xe0} /* capital letter o with acute */, - {0x00d4, 0xe2} /* capital letter o with circumflex */, - {0x00d5, 0xe5} /* capital letter o with tilde */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d7, 0x9e} /* sign */, - {0x00d8, 0x9d} /* capital letter o with stroke */, - {0x00d9, 0xeb} /* capital letter u with grave */, - {0x00da, 0xe9} /* capital letter u with acute */, - {0x00db, 0xea} /* capital letter u with circumflex */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00dd, 0xed} /* capital letter y with acute */, - {0x00de, 0xe8} /* capital letter thorn (icelandic) */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e3, 0xc6} /* small letter a with tilde */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f0, 0xd0} /* small letter eth (icelandic) */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f5, 0xe4} /* small letter o with tilde */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f8, 0x9b} /* small letter o with stroke */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00fd, 0xec} /* small letter y with acute */, - {0x00fe, 0xe7} /* small letter thorn (icelandic) */, - {0x00ff, 0x98} /* small letter y with diaeresis */, - {0x0131, 0xd5} /* small letter i dotless */, - {0x0192, 0x9f} /* minuscule latine f hameçon */, - {0x2017, 0xf2} /* low line */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm850_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm850_extra[cet_ucs4_to_ibm850_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm850 = /* defined in cet.h */ -{ - cet_cs_name_ibm850, /* name of character set */ - cet_cs_alias_ibm850, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm850, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm850, /* first non standard character */ - cet_ucs4_cnt_ibm850, /* number of values in table */ - - cet_ucs4_to_ibm850_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm850_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm850_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x00d7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x00ae, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x00c0, - 0x00a9, 0x2563, 0x2551, 0x2557, 0x255d, 0x00a2, 0x00a5, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x00e3, 0x00c3, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x00f0, 0x00d0, 0x00ca, 0x00cb, 0x00c8, 0x0131, 0x00cd, 0x00ce, - 0x00cf, 0x2518, 0x250c, 0x2588, 0x2584, 0x00a6, 0x00cc, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x00d2, 0x00f5, 0x00d5, 0x00b5, 0x00fe, - 0x00de, 0x00da, 0x00db, 0x00d9, 0x00fd, 0x00dd, 0x00af, 0x00b4, - 0x00ad, 0x00b1, 0x2017, 0x00be, 0x00b6, 0x00a7, 0x00f7, 0x00b8, - 0x00b0, 0x00a8, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm851.h b/gpsbabel/cet/ibm851.h deleted file mode 100644 index 95bab532c..000000000 --- a/gpsbabel/cet/ibm851.h +++ /dev/null @@ -1,255 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM851" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm851_h -#define ibm851_h - -#define cet_cs_name_ibm851 "IBM851" - -const char *cet_cs_alias_ibm851[] = -{ - "IBM851", "851", "CP851", NULL -}; - -#define cet_ucs4_ofs_ibm851 128 -#define cet_ucs4_cnt_ibm851 128 - -const int cet_ucs4_map_ibm851[cet_ucs4_cnt_ibm851] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x0386, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x0388, 0x00c4, 0x0389, - 0x038a, -1, 0x038c, 0x00f4, 0x00f6, 0x038e, 0x00fb, 0x00f9, - 0x038f, 0x00d6, 0x00dc, 0x03ac, 0x00a3, 0x03ad, 0x03ae, 0x03af, - 0x03ca, 0x0390, 0x03cc, 0x03cd, 0x0391, 0x0392, 0x0393, 0x0394, - 0x0395, 0x0396, 0x0397, 0x00bd, 0x0398, 0x0399, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x039a, 0x039b, 0x039d, - 0x039c, 0x2563, 0x2551, 0x2557, 0x255d, 0x039e, 0x039f, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x03a0, 0x03a1, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x03a3, - 0x03a4, 0x03a5, 0x03a6, 0x03a7, 0x03a8, 0x03a9, 0x03b1, 0x03b2, - 0x03b3, 0x2518, 0x250c, 0x2588, 0x2584, 0x03b4, 0x03b5, 0x2580, - 0x03b6, 0x03b7, 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, - 0x03be, 0x03bf, 0x03c0, 0x03c1, 0x03c3, 0x03c2, 0x03c4, 0x00b4, - 0x00ad, 0x00b1, 0x03c5, 0x03c6, 0x03c7, 0x00a7, 0x03c8, 0x02db, - 0x00b0, 0x00a8, 0x03c9, 0x03cb, 0x03b0, 0x03ce, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm851_ct 127 - -const cet_ucs4_link_t cet_ucs4_to_ibm851_links[cet_ucs4_to_ibm851_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a3, 0x9c} /* sign */, - {0x00a7, 0xf5} /* sign */, - {0x00a8, 0xf9} /* diaeresis */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ad, 0xf0} /* hyphen */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b4, 0xef} /* accent */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bd, 0xab} /* fraction one half */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x02db, 0xf7} /* ogonek */, - {0x0386, 0x86} /* capital letter alpha with acute */, - {0x0388, 0x8d} /* capital letter epsilon with acute */, - {0x0389, 0x8f} /* capital letter eta with acute */, - {0x038a, 0x90} /* capital letter iota with acute */, - {0x038c, 0x92} /* capital letter omicron with acute */, - {0x038e, 0x95} /* capital letter upsilon with acute */, - {0x038f, 0x98} /* capital letter omega with acute */, - {0x0390, 0xa1} /* small letter iota with acute and diaeresis */, - {0x0391, 0xa4} /* capital letter alpha */, - {0x0392, 0xa5} /* capital letter beta */, - {0x0393, 0xa6} /* capital letter gamma */, - {0x0394, 0xa7} /* capital letter delta */, - {0x0395, 0xa8} /* capital letter epsilon */, - {0x0396, 0xa9} /* capital letter zeta */, - {0x0397, 0xaa} /* capital letter eta */, - {0x0398, 0xac} /* capital letter theta */, - {0x0399, 0xad} /* capital letter iota */, - {0x039a, 0xb5} /* capital letter kappa */, - {0x039b, 0xb6} /* capital letter lamda */, - {0x039c, 0xb8} /* capital letter mu */, - {0x039d, 0xb7} /* capital letter nu */, - {0x039e, 0xbd} /* capital letter xi */, - {0x039f, 0xbe} /* capital letter omicron */, - {0x03a0, 0xc6} /* capital letter pi */, - {0x03a1, 0xc7} /* capital letter rho */, - {0x03a3, 0xcf} /* capital letter sigma */, - {0x03a4, 0xd0} /* capital letter tau */, - {0x03a5, 0xd1} /* capital letter upsilon */, - {0x03a6, 0xd2} /* capital letter phi */, - {0x03a7, 0xd3} /* capital letter chi */, - {0x03a8, 0xd4} /* capital letter psi */, - {0x03a9, 0xd5} /* capital letter omega */, - {0x03ac, 0x9b} /* small letter alpha with acute */, - {0x03ad, 0x9d} /* small letter epsilon with acute */, - {0x03ae, 0x9e} /* small letter eta with acute */, - {0x03af, 0x9f} /* small letter iota with acute */, - {0x03b0, 0xfc} /* small letter upsilon with acute and diaeresis */, - {0x03b1, 0xd6} /* small letter alpha */, - {0x03b2, 0xd7} /* small letter beta */, - {0x03b3, 0xd8} /* small letter gamma */, - {0x03b4, 0xdd} /* small letter delta */, - {0x03b5, 0xde} /* small letter epsilon */, - {0x03b6, 0xe0} /* small letter zeta */, - {0x03b7, 0xe1} /* small letter eta */, - {0x03b8, 0xe2} /* small letter theta */, - {0x03b9, 0xe3} /* small letter iota */, - {0x03ba, 0xe4} /* small letter kappa */, - {0x03bb, 0xe5} /* small letter lamda */, - {0x03bc, 0xe6} /* small letter mu */, - {0x03bd, 0xe7} /* small letter nu */, - {0x03be, 0xe8} /* small letter xi */, - {0x03bf, 0xe9} /* small letter omicron */, - {0x03c0, 0xea} /* small letter pi */, - {0x03c1, 0xeb} /* small letter rho */, - {0x03c2, 0xed} /* small letter final sigma */, - {0x03c3, 0xec} /* small letter sigma */, - {0x03c4, 0xee} /* small letter tau */, - {0x03c5, 0xf2} /* small letter upsilon */, - {0x03c6, 0xf3} /* small letter phi */, - {0x03c7, 0xf4} /* small letter chi */, - {0x03c8, 0xf6} /* small letter psi */, - {0x03c9, 0xfa} /* small letter omega */, - {0x03ca, 0xa0} /* small letter iota with diaeresis */, - {0x03cb, 0xfb} /* small letter upsilon with diaeresis */, - {0x03cc, 0xa2} /* small letter omicron with acute */, - {0x03cd, 0xa3} /* small letter upsilon with acute */, - {0x03ce, 0xfd} /* small letter omega with acute */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm851_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm851_extra[cet_ucs4_to_ibm851_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm851 = /* defined in cet.h */ -{ - cet_cs_name_ibm851, /* name of character set */ - cet_cs_alias_ibm851, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm851, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm851, /* first non standard character */ - cet_ucs4_cnt_ibm851, /* number of values in table */ - - cet_ucs4_to_ibm851_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm851_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm851_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x0386, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x0388, 0x00c4, 0x0389, - 0x038a, -1, 0x038c, 0x00f4, 0x00f6, 0x038e, 0x00fb, 0x00f9, - 0x038f, 0x00d6, 0x00dc, 0x03ac, 0x00a3, 0x03ad, 0x03ae, 0x03af, - 0x03ca, 0x0390, 0x03cc, 0x03cd, 0x0391, 0x0392, 0x0393, 0x0394, - 0x0395, 0x0396, 0x0397, 0x00bd, 0x0398, 0x0399, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x039a, 0x039b, 0x039d, - 0x039c, 0x2563, 0x2551, 0x2557, 0x255d, 0x039e, 0x039f, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x03a0, 0x03a1, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x03a3, - 0x03a4, 0x03a5, 0x03a6, 0x03a7, 0x03a8, 0x03a9, 0x03b1, 0x03b2, - 0x03b3, 0x2518, 0x250c, 0x2588, 0x2584, 0x03b4, 0x03b5, 0x2580, - 0x03b6, 0x03b7, 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, - 0x03be, 0x03bf, 0x03c0, 0x03c1, 0x03c3, 0x03c2, 0x03c4, 0x00b4, - 0x00ad, 0x00b1, 0x03c5, 0x03c6, 0x03c7, 0x00a7, 0x03c8, 0x02db, - 0x00b0, 0x00a8, 0x03c9, 0x03cb, 0x03b0, 0x03ce, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm852.h b/gpsbabel/cet/ibm852.h deleted file mode 100644 index 8332c19c3..000000000 --- a/gpsbabel/cet/ibm852.h +++ /dev/null @@ -1,257 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM852" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm852_h -#define ibm852_h - -#define cet_cs_name_ibm852 "IBM852" - -const char *cet_cs_alias_ibm852[] = -{ - "IBM852", "852", "CP852", "pcl2", - "pclatin2", NULL -}; - -#define cet_ucs4_ofs_ibm852 128 -#define cet_ucs4_cnt_ibm852 128 - -const int cet_ucs4_map_ibm852[cet_ucs4_cnt_ibm852] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x016f, 0x0107, 0x00e7, - 0x0142, 0x00eb, 0x0150, 0x0151, 0x00ee, 0x0179, 0x00c4, 0x0106, - 0x00c9, 0x0139, 0x013a, 0x00f4, 0x00f6, 0x013d, 0x013e, 0x015a, - 0x015b, 0x00d6, 0x00dc, 0x0164, 0x0165, 0x0141, 0x00d7, 0x010d, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x0104, 0x0105, 0x017d, 0x017e, - 0x0118, 0x0119, 0x00ac, 0x017a, 0x010c, 0x015f, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x011a, - 0x015e, 0x2563, 0x2551, 0x2557, 0x255d, 0x017b, 0x017c, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x0102, 0x0103, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x0111, 0x0110, 0x010e, 0x00cb, 0x010f, 0x0147, 0x00cd, 0x00ce, - 0x011b, 0x2518, 0x250c, 0x2588, 0x2584, 0x0162, 0x016e, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x0143, 0x0144, 0x0148, 0x0160, 0x0161, - 0x0154, 0x00da, 0x0155, 0x0170, 0x00fd, 0x00dd, 0x0163, 0x00b4, - 0x00ad, 0x02dd, 0x02db, 0x02c7, 0x02d8, 0x00a7, 0x00f7, 0x00b8, - 0x00b0, 0x00a8, 0x02d9, 0x0171, 0x0158, 0x0159, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm852_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm852_links[cet_ucs4_to_ibm852_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a4, 0xcf} /* sign */, - {0x00a7, 0xf5} /* sign */, - {0x00a8, 0xf9} /* diaeresis */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00ad, 0xf0} /* hyphen */, - {0x00b0, 0xf8} /* sign */, - {0x00b4, 0xef} /* accent */, - {0x00b8, 0xf7} /* cedilla */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00c1, 0xb5} /* capital letter a with acute */, - {0x00c2, 0xb6} /* capital letter a with circumflex */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00cb, 0xd3} /* capital letter e with diaeresis */, - {0x00cd, 0xd6} /* capital letter i with acute */, - {0x00ce, 0xd7} /* capital letter i with circumflex */, - {0x00d3, 0xe0} /* capital letter o with acute */, - {0x00d4, 0xe2} /* capital letter o with circumflex */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d7, 0x9e} /* sign */, - {0x00da, 0xe9} /* capital letter u with acute */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00dd, 0xed} /* capital letter y with acute */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00fd, 0xec} /* small letter y with acute */, - {0x0102, 0xc6} /* capital letter a with breve */, - {0x0103, 0xc7} /* small letter a with breve */, - {0x0104, 0xa4} /* capital letter a with ogonek */, - {0x0105, 0xa5} /* small letter a with ogonek */, - {0x0106, 0x8f} /* capital letter c with acute */, - {0x0107, 0x86} /* small letter c with acute */, - {0x010c, 0xac} /* capital letter c with caron */, - {0x010d, 0x9f} /* small letter c with caron */, - {0x010e, 0xd2} /* capital letter d with caron */, - {0x010f, 0xd4} /* small letter d with caron */, - {0x0110, 0xd1} /* capital letter d with stroke */, - {0x0111, 0xd0} /* small letter d with stroke */, - {0x0118, 0xa8} /* capital letter e with ogonek */, - {0x0119, 0xa9} /* small letter e with ogonek */, - {0x011a, 0xb7} /* capital letter e with caron */, - {0x011b, 0xd8} /* small letter e with caron */, - {0x0139, 0x91} /* capital letter l with acute */, - {0x013a, 0x92} /* small letter l with acute */, - {0x013d, 0x95} /* capital letter l with caron */, - {0x013e, 0x96} /* small letter l with caron */, - {0x0141, 0x9d} /* capital letter l with stroke */, - {0x0142, 0x88} /* small letter l with stroke */, - {0x0143, 0xe3} /* capital letter n with acute */, - {0x0144, 0xe4} /* small letter n with acute */, - {0x0147, 0xd5} /* capital letter n with caron */, - {0x0148, 0xe5} /* small letter n with caron */, - {0x0150, 0x8a} /* capital letter o with double acute */, - {0x0151, 0x8b} /* small letter o with double acute */, - {0x0154, 0xe8} /* capital letter r with acute */, - {0x0155, 0xea} /* small letter r with acute */, - {0x0158, 0xfc} /* capital letter r with caron */, - {0x0159, 0xfd} /* small letter r with caron */, - {0x015a, 0x97} /* capital letter s with acute */, - {0x015b, 0x98} /* small letter s with acute */, - {0x015e, 0xb8} /* capital letter s with cedilla */, - {0x015f, 0xad} /* small letter s with cedilla */, - {0x0160, 0xe6} /* capital letter s with caron */, - {0x0161, 0xe7} /* small letter s with caron */, - {0x0162, 0xdd} /* capital letter t with cedilla */, - {0x0163, 0xee} /* small letter t with cedilla */, - {0x0164, 0x9b} /* capital letter t with caron */, - {0x0165, 0x9c} /* small letter t with caron */, - {0x016e, 0xde} /* capital letter u with ring above */, - {0x016f, 0x85} /* small letter u with ring above */, - {0x0170, 0xeb} /* capital letter u with double acute */, - {0x0171, 0xfb} /* small letter u with double acute */, - {0x0179, 0x8d} /* capital letter z with acute */, - {0x017a, 0xab} /* small letter z with acute */, - {0x017b, 0xbd} /* capital letter z with dot above */, - {0x017c, 0xbe} /* small letter z with dot above */, - {0x017d, 0xa6} /* capital letter z with caron */, - {0x017e, 0xa7} /* small letter z with caron */, - {0x02c7, 0xf3} /* caron */, - {0x02d8, 0xf4} /* breve */, - {0x02d9, 0xfa} /* above */, - {0x02db, 0xf2} /* ogonek */, - {0x02dd, 0xf1} /* acute accent */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm852_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm852_extra[cet_ucs4_to_ibm852_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm852 = /* defined in cet.h */ -{ - cet_cs_name_ibm852, /* name of character set */ - cet_cs_alias_ibm852, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm852, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm852, /* first non standard character */ - cet_ucs4_cnt_ibm852, /* number of values in table */ - - cet_ucs4_to_ibm852_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm852_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm852_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x016f, 0x0107, 0x00e7, - 0x0142, 0x00eb, 0x0150, 0x0151, 0x00ee, 0x0179, 0x00c4, 0x0106, - 0x00c9, 0x0139, 0x013a, 0x00f4, 0x00f6, 0x013d, 0x013e, 0x015a, - 0x015b, 0x00d6, 0x00dc, 0x0164, 0x0165, 0x0141, 0x00d7, 0x010d, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x0104, 0x0105, 0x017d, 0x017e, - 0x0118, 0x0119, 0x00ac, 0x017a, 0x010c, 0x015f, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x011a, - 0x015e, 0x2563, 0x2551, 0x2557, 0x255d, 0x017b, 0x017c, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x0102, 0x0103, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x0111, 0x0110, 0x010e, 0x00cb, 0x010f, 0x0147, 0x00cd, 0x00ce, - 0x011b, 0x2518, 0x250c, 0x2588, 0x2584, 0x0162, 0x016e, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x0143, 0x0144, 0x0148, 0x0160, 0x0161, - 0x0154, 0x00da, 0x0155, 0x0170, 0x00fd, 0x00dd, 0x0163, 0x00b4, - 0x00ad, 0x02dd, 0x02db, 0x02c7, 0x02d8, 0x00a7, 0x00f7, 0x00b8, - 0x00b0, 0x00a8, 0x02d9, 0x0171, 0x0158, 0x0159, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm855.h b/gpsbabel/cet/ibm855.h deleted file mode 100644 index 4ed6603e8..000000000 --- a/gpsbabel/cet/ibm855.h +++ /dev/null @@ -1,255 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM855" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm855_h -#define ibm855_h - -#define cet_cs_name_ibm855 "IBM855" - -const char *cet_cs_alias_ibm855[] = -{ - "IBM855", "855", "CP855", NULL -}; - -#define cet_ucs4_ofs_ibm855 128 -#define cet_ucs4_cnt_ibm855 128 - -const int cet_ucs4_map_ibm855[cet_ucs4_cnt_ibm855] = -{ - 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, - 0x0455, 0x0405, 0x0456, 0x0406, 0x0457, 0x0407, 0x0458, 0x0408, - 0x0459, 0x0409, 0x045a, 0x040a, 0x045b, 0x0093, 0x045c, 0x040c, - 0x045e, 0x040e, 0x045f, 0x040f, 0x044e, 0x042e, 0x044a, 0x042a, - 0x0430, 0x0410, 0x0431, 0x0411, 0x0446, 0x0426, 0x0434, 0x0414, - 0x0435, 0x0415, 0x0444, 0x0424, 0x0433, 0x0413, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x0445, 0x0425, 0x0438, - 0x0418, 0x2563, 0x2551, 0x2557, 0x255d, 0x0439, 0x0419, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x043a, 0x041a, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x043b, 0x041b, 0x043c, 0x041c, 0x043d, 0x041d, 0x043e, 0x041e, - 0x043f, 0x2518, 0x250c, 0x2588, 0x2584, 0x041f, 0x044f, 0x2580, - 0x042f, 0x0440, 0x0420, 0x0441, 0x0421, 0x0442, 0x0422, 0x0443, - 0x0423, 0x0436, 0x0416, 0x0432, 0x0412, 0x044c, 0x042c, 0x00b4, - 0x00ad, 0x044b, 0x042b, 0x0437, 0x0417, 0x0448, 0x0428, 0x044d, - 0x042d, 0x0449, 0x0429, 0x0447, 0x0427, -1, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm855_ct 127 - -const cet_ucs4_link_t cet_ucs4_to_ibm855_links[cet_ucs4_to_ibm855_ct] = -{ - {0x0093, 0x95} /* transmit state (sts) */, - {0x00a0, 0xff} /* space */, - {0x00a4, 0xcf} /* sign */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ad, 0xf0} /* hyphen */, - {0x00b4, 0xef} /* accent */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x0401, 0x85} /* capital letter io */, - {0x0402, 0x81} /* capital letter dje (serbocroatian) */, - {0x0403, 0x83} /* capital letter gje (macedonian) */, - {0x0404, 0x87} /* capital letter ukrainian ie */, - {0x0405, 0x89} /* capital letter dze (macedonian) */, - {0x0406, 0x8b} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0x8d} /* capital letter yi (ukrainian) */, - {0x0408, 0x8f} /* capital letter je */, - {0x0409, 0x91} /* capital letter lje */, - {0x040a, 0x93} /* capital letter nje */, - {0x040c, 0x97} /* capital letter kje (macedonian) */, - {0x040e, 0x99} /* capital letter short u (byelorussian) */, - {0x040f, 0x9b} /* capital letter dzhe */, - {0x0410, 0xa1} /* capital letter a */, - {0x0411, 0xa3} /* capital letter be */, - {0x0412, 0xec} /* capital letter ve */, - {0x0413, 0xad} /* capital letter ghe */, - {0x0414, 0xa7} /* capital letter de */, - {0x0415, 0xa9} /* capital letter ie */, - {0x0416, 0xea} /* capital letter zhe */, - {0x0417, 0xf4} /* capital letter ze */, - {0x0418, 0xb8} /* capital letter i */, - {0x0419, 0xbe} /* capital letter short i */, - {0x041a, 0xc7} /* capital letter ka */, - {0x041b, 0xd1} /* capital letter el */, - {0x041c, 0xd3} /* capital letter em */, - {0x041d, 0xd5} /* capital letter en */, - {0x041e, 0xd7} /* capital letter o */, - {0x041f, 0xdd} /* capital letter pe */, - {0x0420, 0xe2} /* capital letter er */, - {0x0421, 0xe4} /* capital letter es */, - {0x0422, 0xe6} /* capital letter te */, - {0x0423, 0xe8} /* capital letter u */, - {0x0424, 0xab} /* capital letter ef */, - {0x0425, 0xb6} /* capital letter ha */, - {0x0426, 0xa5} /* capital letter tse */, - {0x0427, 0xfc} /* capital letter che */, - {0x0428, 0xf6} /* capital letter sha */, - {0x0429, 0xfa} /* capital letter shcha */, - {0x042a, 0x9f} /* capital letter hard sign */, - {0x042b, 0xf2} /* capital letter yeru */, - {0x042c, 0xee} /* capital letter soft sign */, - {0x042d, 0xf8} /* capital letter e */, - {0x042e, 0x9d} /* capital letter yu */, - {0x042f, 0xe0} /* capital letter ya */, - {0x0430, 0xa0} /* small letter a */, - {0x0431, 0xa2} /* small letter be */, - {0x0432, 0xeb} /* small letter ve */, - {0x0433, 0xac} /* small letter ghe */, - {0x0434, 0xa6} /* small letter de */, - {0x0435, 0xa8} /* small letter ie */, - {0x0436, 0xe9} /* small letter zhe */, - {0x0437, 0xf3} /* small letter ze */, - {0x0438, 0xb7} /* small letter i */, - {0x0439, 0xbd} /* small letter short i */, - {0x043a, 0xc6} /* small letter ka */, - {0x043b, 0xd0} /* small letter el */, - {0x043c, 0xd2} /* small letter em */, - {0x043d, 0xd4} /* small letter en */, - {0x043e, 0xd6} /* small letter o */, - {0x043f, 0xd8} /* small letter pe */, - {0x0440, 0xe1} /* small letter er */, - {0x0441, 0xe3} /* small letter es */, - {0x0442, 0xe5} /* small letter te */, - {0x0443, 0xe7} /* small letter u */, - {0x0444, 0xaa} /* small letter ef */, - {0x0445, 0xb5} /* small letter ha */, - {0x0446, 0xa4} /* small letter tse */, - {0x0447, 0xfb} /* small letter che */, - {0x0448, 0xf5} /* small letter sha */, - {0x0449, 0xf9} /* small letter shcha */, - {0x044a, 0x9e} /* small letter hard sign */, - {0x044b, 0xf1} /* small letter yeru */, - {0x044c, 0xed} /* small letter soft sign */, - {0x044d, 0xf7} /* small letter e */, - {0x044e, 0x9c} /* small letter yu */, - {0x044f, 0xde} /* small letter ya */, - {0x0451, 0x84} /* small letter io */, - {0x0452, 0x80} /* small letter dje (serbocroatian) */, - {0x0453, 0x82} /* small letter gje (macedonian) */, - {0x0454, 0x86} /* small letter ukrainian ie */, - {0x0455, 0x88} /* small letter dze (macedonian) */, - {0x0456, 0x8a} /* small letter byelorussian-ukrainian i */, - {0x0457, 0x8c} /* small letter yi (ukrainian) */, - {0x0458, 0x8e} /* small letter je */, - {0x0459, 0x90} /* small letter lje */, - {0x045a, 0x92} /* small letter nje */, - {0x045b, 0x94} /* small letter tshe (serbocroatian) */, - {0x045c, 0x96} /* small letter kje (macedonian) */, - {0x045e, 0x98} /* small letter short u (byelorussian) */, - {0x045f, 0x9a} /* small letter dzhe */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm855_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm855_extra[cet_ucs4_to_ibm855_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm855 = /* defined in cet.h */ -{ - cet_cs_name_ibm855, /* name of character set */ - cet_cs_alias_ibm855, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm855, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm855, /* first non standard character */ - cet_ucs4_cnt_ibm855, /* number of values in table */ - - cet_ucs4_to_ibm855_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm855_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm855_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, - 0x0455, 0x0405, 0x0456, 0x0406, 0x0457, 0x0407, 0x0458, 0x0408, - 0x0459, 0x0409, 0x045a, 0x040a, 0x045b, 0x0093, 0x045c, 0x040c, - 0x045e, 0x040e, 0x045f, 0x040f, 0x044e, 0x042e, 0x044a, 0x042a, - 0x0430, 0x0410, 0x0431, 0x0411, 0x0446, 0x0426, 0x0434, 0x0414, - 0x0435, 0x0415, 0x0444, 0x0424, 0x0433, 0x0413, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x0445, 0x0425, 0x0438, - 0x0418, 0x2563, 0x2551, 0x2557, 0x255d, 0x0439, 0x0419, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x043a, 0x041a, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x043b, 0x041b, 0x043c, 0x041c, 0x043d, 0x041d, 0x043e, 0x041e, - 0x043f, 0x2518, 0x250c, 0x2588, 0x2584, 0x041f, 0x044f, 0x2580, - 0x042f, 0x0440, 0x0420, 0x0441, 0x0421, 0x0442, 0x0422, 0x0443, - 0x0423, 0x0436, 0x0416, 0x0432, 0x0412, 0x044c, 0x042c, 0x00b4, - 0x00ad, 0x044b, 0x042b, 0x0437, 0x0417, 0x0448, 0x0428, 0x044d, - 0x042d, 0x0449, 0x0429, 0x0447, 0x0427, -1, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm857.h b/gpsbabel/cet/ibm857.h deleted file mode 100644 index 4b26cdb28..000000000 --- a/gpsbabel/cet/ibm857.h +++ /dev/null @@ -1,252 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM857" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm857_h -#define ibm857_h - -#define cet_cs_name_ibm857 "IBM857" - -const char *cet_cs_alias_ibm857[] = -{ - "IBM857", "857", "CP857", NULL -}; - -#define cet_ucs4_ofs_ibm857 128 -#define cet_ucs4_cnt_ibm857 128 - -const int cet_ucs4_map_ibm857[cet_ucs4_cnt_ibm857] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x0131, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x0130, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x015e, 0x015f, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x011e, 0x011f, - 0x00bf, 0x00ae, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x00c0, - 0x00a9, 0x2563, 0x2551, 0x2557, 0x255d, 0x00a2, 0x00a5, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x00e3, 0x00c3, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x00ba, 0x00aa, 0x00ca, 0x00cb, 0x00c8, -1, 0x00cd, 0x00ce, - 0x00cf, 0x2518, 0x250c, 0x2588, 0x2584, 0x00a6, 0x00cc, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x00d2, 0x00f5, 0x00d5, 0x00b5, -1, - 0x00d7, 0x00da, 0x00db, 0x00d9, 0x00ec, 0x00ff, 0x2014, 0x00b4, - 0x00ad, 0x00b1, -1, 0x00be, 0x00b6, 0x00a7, 0x00f7, 0x02db, - 0x00b0, 0x00a8, 0x02d9, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm857_ct 124 - -const cet_ucs4_link_t cet_ucs4_to_ibm857_links[cet_ucs4_to_ibm857_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0xbd} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a4, 0xcf} /* sign */, - {0x00a5, 0xbe} /* sign */, - {0x00a6, 0xdd} /* bar */, - {0x00a7, 0xf5} /* sign */, - {0x00a8, 0xf9} /* diaeresis */, - {0x00a9, 0xb8} /* sign */, - {0x00aa, 0xd1} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00ad, 0xf0} /* hyphen */, - {0x00ae, 0xa9} /* sign */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b3, 0xfc} /* three */, - {0x00b4, 0xef} /* accent */, - {0x00b5, 0xe6} /* sign */, - {0x00b6, 0xf4} /* sign */, - {0x00b9, 0xfb} /* one */, - {0x00ba, 0xd0} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00be, 0xf3} /* fraction three quarters */, - {0x00bf, 0xa8} /* question mark */, - {0x00c0, 0xb7} /* capital letter a with grave */, - {0x00c1, 0xb5} /* capital letter a with acute */, - {0x00c2, 0xb6} /* capital letter a with circumflex */, - {0x00c3, 0xc7} /* capital letter a with tilde */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c8, 0xd4} /* capital letter e with grave */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00ca, 0xd2} /* capital letter e with circumflex */, - {0x00cb, 0xd3} /* capital letter e with diaeresis */, - {0x00cc, 0xde} /* capital letter i with grave */, - {0x00cd, 0xd6} /* capital letter i with acute */, - {0x00ce, 0xd7} /* capital letter i with circumflex */, - {0x00cf, 0xd8} /* capital letter i with diaeresis */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d2, 0xe3} /* capital letter o with grave */, - {0x00d3, 0xe0} /* capital letter o with acute */, - {0x00d4, 0xe2} /* capital letter o with circumflex */, - {0x00d5, 0xe5} /* capital letter o with tilde */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d7, 0xe8} /* sign */, - {0x00d8, 0x9d} /* capital letter o with stroke */, - {0x00d9, 0xeb} /* capital letter u with grave */, - {0x00da, 0xe9} /* capital letter u with acute */, - {0x00db, 0xea} /* capital letter u with circumflex */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e3, 0xc6} /* small letter a with tilde */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f5, 0xe4} /* small letter o with tilde */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f8, 0x9b} /* small letter o with stroke */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00ff, 0xed} /* small letter y with diaeresis */, - {0x011e, 0xa6} /* capital letter g with breve */, - {0x011f, 0xa7} /* small letter g with breve */, - {0x0130, 0x98} /* capital letter i with dot above */, - {0x0131, 0x8d} /* small letter i dotless */, - {0x015e, 0x9e} /* capital letter s with cedilla */, - {0x015f, 0x9f} /* small letter s with cedilla */, - {0x02d9, 0xfa} /* above */, - {0x02db, 0xf7} /* ogonek */, - {0x2014, 0xee} /* dash */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm857_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm857_extra[cet_ucs4_to_ibm857_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm857 = /* defined in cet.h */ -{ - cet_cs_name_ibm857, /* name of character set */ - cet_cs_alias_ibm857, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm857, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm857, /* first non standard character */ - cet_ucs4_cnt_ibm857, /* number of values in table */ - - cet_ucs4_to_ibm857_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm857_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm857_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x0131, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x0130, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x015e, 0x015f, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x011e, 0x011f, - 0x00bf, 0x00ae, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00c1, 0x00c2, 0x00c0, - 0x00a9, 0x2563, 0x2551, 0x2557, 0x255d, 0x00a2, 0x00a5, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x00e3, 0x00c3, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x00a4, - 0x00ba, 0x00aa, 0x00ca, 0x00cb, 0x00c8, -1, 0x00cd, 0x00ce, - 0x00cf, 0x2518, 0x250c, 0x2588, 0x2584, 0x00a6, 0x00cc, 0x2580, - 0x00d3, 0x00df, 0x00d4, 0x00d2, 0x00f5, 0x00d5, 0x00b5, -1, - 0x00d7, 0x00da, 0x00db, 0x00d9, 0x00ec, 0x00ff, 0x2014, 0x00b4, - 0x00ad, 0x00b1, -1, 0x00be, 0x00b6, 0x00a7, 0x00f7, 0x02db, - 0x00b0, 0x00a8, 0x02d9, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm860.h b/gpsbabel/cet/ibm860.h deleted file mode 100644 index c2d2ced62..000000000 --- a/gpsbabel/cet/ibm860.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM860" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm860_h -#define ibm860_h - -#define cet_cs_name_ibm860 "IBM860" - -const char *cet_cs_alias_ibm860[] = -{ - "IBM860", "860", "CP860", NULL -}; - -#define cet_ucs4_ofs_ibm860 128 -#define cet_ucs4_cnt_ibm860 128 - -const int cet_ucs4_map_ibm860[cet_ucs4_cnt_ibm860] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e3, 0x00e0, 0x00c1, 0x00e7, - 0x00ea, 0x00ca, 0x00e8, 0x00ce, 0x00d4, 0x00ec, 0x00c3, 0x00c2, - 0x00c9, 0x00c0, 0x00c8, 0x00f4, 0x00f5, 0x00f2, 0x00da, 0x00f9, - 0x00cc, 0x00d5, 0x00dc, 0x00a2, 0x00a3, 0x00d9, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x00d3, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm860_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm860_links[cet_ucs4_to_ibm860_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b5, 0xe6} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c0, 0x91} /* capital letter a with grave */, - {0x00c1, 0x86} /* capital letter a with acute */, - {0x00c2, 0x8f} /* capital letter a with circumflex */, - {0x00c3, 0x8e} /* capital letter a with tilde */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c8, 0x92} /* capital letter e with grave */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00ca, 0x89} /* capital letter e with circumflex */, - {0x00cc, 0x98} /* capital letter i with grave */, - {0x00ce, 0x8b} /* capital letter i with circumflex */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d2, 0x9f} /* capital letter o with grave */, - {0x00d3, 0xa9} /* capital letter o with acute */, - {0x00d4, 0x8c} /* capital letter o with circumflex */, - {0x00d5, 0x99} /* capital letter o with tilde */, - {0x00d9, 0x9d} /* capital letter u with grave */, - {0x00da, 0x96} /* capital letter u with acute */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e3, 0x84} /* small letter a with tilde */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f5, 0x94} /* small letter o with tilde */, - {0x00f7, 0xf6} /* sign */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x03c6, 0xed} /* small letter phi */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm860_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm860_extra[cet_ucs4_to_ibm860_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm860 = /* defined in cet.h */ -{ - cet_cs_name_ibm860, /* name of character set */ - cet_cs_alias_ibm860, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm860, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm860, /* first non standard character */ - cet_ucs4_cnt_ibm860, /* number of values in table */ - - cet_ucs4_to_ibm860_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm860_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm860_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e3, 0x00e0, 0x00c1, 0x00e7, - 0x00ea, 0x00ca, 0x00e8, 0x00ce, 0x00d4, 0x00ec, 0x00c3, 0x00c2, - 0x00c9, 0x00c0, 0x00c8, 0x00f4, 0x00f5, 0x00f2, 0x00da, 0x00f9, - 0x00cc, 0x00d5, 0x00dc, 0x00a2, 0x00a3, 0x00d9, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x00d3, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm861.h b/gpsbabel/cet/ibm861.h deleted file mode 100644 index cd8520f4e..000000000 --- a/gpsbabel/cet/ibm861.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM861" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm861_h -#define ibm861_h - -#define cet_cs_name_ibm861 "IBM861" - -const char *cet_cs_alias_ibm861[] = -{ - "IBM861", "861", "CP861", "cp-is", - NULL -}; - -#define cet_ucs4_ofs_ibm861 128 -#define cet_ucs4_cnt_ibm861 128 - -const int cet_ucs4_map_ibm861[cet_ucs4_cnt_ibm861] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00d0, 0x00f0, 0x00de, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00fe, 0x00fb, 0x00dd, - 0x00fd, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00c1, 0x00cd, 0x00d3, 0x00da, - 0x00bf, -1, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm861_ct 127 - -const cet_ucs4_link_t cet_ucs4_to_ibm861_links[cet_ucs4_to_ibm861_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a3, 0x9c} /* sign */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b5, 0xe6} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c1, 0xa4} /* capital letter a with acute */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00cd, 0xa5} /* capital letter i with acute */, - {0x00d0, 0x8b} /* capital letter eth (icelandic) */, - {0x00d2, 0x9f} /* capital letter o with grave */, - {0x00d3, 0xa6} /* capital letter o with acute */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d8, 0x9d} /* capital letter o with stroke */, - {0x00da, 0xa7} /* capital letter u with acute */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00dd, 0x97} /* capital letter y with acute */, - {0x00de, 0x8d} /* capital letter thorn (icelandic) */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00f0, 0x8c} /* small letter eth (icelandic) */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f8, 0x9b} /* small letter o with stroke */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00fd, 0x98} /* small letter y with acute */, - {0x00fe, 0x95} /* small letter thorn (icelandic) */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x03c6, 0xed} /* small letter phi */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm861_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm861_extra[cet_ucs4_to_ibm861_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm861 = /* defined in cet.h */ -{ - cet_cs_name_ibm861, /* name of character set */ - cet_cs_alias_ibm861, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm861, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm861, /* first non standard character */ - cet_ucs4_cnt_ibm861, /* number of values in table */ - - cet_ucs4_to_ibm861_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm861_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm861_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00d0, 0x00f0, 0x00de, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00fe, 0x00fb, 0x00dd, - 0x00fd, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00c1, 0x00cd, 0x00d3, 0x00da, - 0x00bf, -1, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm862.h b/gpsbabel/cet/ibm862.h deleted file mode 100644 index f7a559f65..000000000 --- a/gpsbabel/cet/ibm862.h +++ /dev/null @@ -1,255 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM862" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm862_h -#define ibm862_h - -#define cet_cs_name_ibm862 "IBM862" - -const char *cet_cs_alias_ibm862[] = -{ - "IBM862", "862", "CP862", NULL -}; - -#define cet_ucs4_ofs_ibm862 128 -#define cet_ucs4_cnt_ibm862 128 - -const int cet_ucs4_map_ibm862[cet_ucs4_cnt_ibm862] = -{ - 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, - 0x05d8, 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, - 0x05e0, 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, - 0x05e8, 0x05e9, 0x05ea, 0x00a2, 0x00a3, 0x00d9, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, -1, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm862_ct 127 - -const cet_ucs4_link_t cet_ucs4_to_ibm862_links[cet_ucs4_to_ibm862_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b5, 0xe6} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d2, 0x9f} /* capital letter o with grave */, - {0x00d9, 0x9d} /* capital letter u with grave */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f7, 0xf6} /* sign */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x03c6, 0xed} /* small letter phi */, - {0x05d0, 0x80} /* letter alef */, - {0x05d1, 0x81} /* letter bet */, - {0x05d2, 0x82} /* letter gimel */, - {0x05d3, 0x83} /* letter dalet */, - {0x05d4, 0x84} /* letter he */, - {0x05d5, 0x85} /* letter vav */, - {0x05d6, 0x86} /* letter zayin */, - {0x05d7, 0x87} /* letter het */, - {0x05d8, 0x88} /* letter tet */, - {0x05d9, 0x89} /* letter yod */, - {0x05da, 0x8a} /* letter final kaf */, - {0x05db, 0x8b} /* letter kaf */, - {0x05dc, 0x8c} /* letter lamed */, - {0x05dd, 0x8d} /* letter final mem */, - {0x05de, 0x8e} /* letter mem */, - {0x05df, 0x8f} /* letter final nun */, - {0x05e0, 0x90} /* letter nun */, - {0x05e1, 0x91} /* letter samekh */, - {0x05e2, 0x92} /* letter ayin */, - {0x05e3, 0x93} /* letter final pe */, - {0x05e4, 0x94} /* letter pe */, - {0x05e5, 0x95} /* letter final tsadi */, - {0x05e6, 0x96} /* letter tsadi */, - {0x05e7, 0x97} /* letter qof */, - {0x05e8, 0x98} /* letter resh */, - {0x05e9, 0x99} /* letter shin */, - {0x05ea, 0x9a} /* letter tav */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm862_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm862_extra[cet_ucs4_to_ibm862_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm862 = /* defined in cet.h */ -{ - cet_cs_name_ibm862, /* name of character set */ - cet_cs_alias_ibm862, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm862, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm862, /* first non standard character */ - cet_ucs4_cnt_ibm862, /* number of values in table */ - - cet_ucs4_to_ibm862_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm862_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm862_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, - 0x05d8, 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, - 0x05e0, 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, - 0x05e8, 0x05e9, 0x05ea, 0x00a2, 0x00a3, 0x00d9, 0x20a7, 0x00d2, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, -1, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x03c6, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x00b0, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm863.h b/gpsbabel/cet/ibm863.h deleted file mode 100644 index 97909f6db..000000000 --- a/gpsbabel/cet/ibm863.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM863" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm863_h -#define ibm863_h - -#define cet_cs_name_ibm863 "IBM863" - -const char *cet_cs_alias_ibm863[] = -{ - "IBM863", "863", "CP863", NULL -}; - -#define cet_ucs4_ofs_ibm863 128 -#define cet_ucs4_cnt_ibm863 128 - -const int cet_ucs4_map_ibm863[cet_ucs4_cnt_ibm863] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00c2, 0x00e0, 0x00b6, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c0, 0x00a7, - 0x00c9, 0x00c8, 0x00ca, 0x00f4, 0x00cb, 0x00cf, 0x00fb, 0x00f9, - 0x00a4, 0x00d4, 0x00dc, 0x00a2, 0x00a3, 0x00d9, 0x00db, 0x0192, - 0x00a6, 0x00b4, 0x00f3, 0x00fa, 0x00a8, 0x00b8, 0x00b3, 0x00af, - 0x00ce, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00be, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm863_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm863_links[cet_ucs4_to_ibm863_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a2, 0x9b} /* sign */, - {0x00a3, 0x9c} /* sign */, - {0x00a4, 0x98} /* sign */, - {0x00a6, 0xa0} /* bar */, - {0x00a7, 0x8f} /* sign */, - {0x00a8, 0xa4} /* diaeresis */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00af, 0xa7} /* macron */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b3, 0xa6} /* three */, - {0x00b4, 0xa1} /* accent */, - {0x00b5, 0xe6} /* sign */, - {0x00b6, 0x86} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00b8, 0xa5} /* cedilla */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00be, 0xad} /* fraction three quarters */, - {0x00c0, 0x8e} /* capital letter a with grave */, - {0x00c2, 0x84} /* capital letter a with circumflex */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c8, 0x91} /* capital letter e with grave */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00ca, 0x92} /* capital letter e with circumflex */, - {0x00cb, 0x94} /* capital letter e with diaeresis */, - {0x00ce, 0xa8} /* capital letter i with circumflex */, - {0x00cf, 0x95} /* capital letter i with diaeresis */, - {0x00d4, 0x99} /* capital letter o with circumflex */, - {0x00d9, 0x9d} /* capital letter u with grave */, - {0x00db, 0x9e} /* capital letter u with circumflex */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f7, 0xf6} /* sign */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x0192, 0x9f} /* minuscule latine f hameçon */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x2205, 0xed} /* set */, - {0x2218, 0xf8} /* operator */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2310, 0xa9} /* not sign */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm863_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm863_extra[cet_ucs4_to_ibm863_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm863 = /* defined in cet.h */ -{ - cet_cs_name_ibm863, /* name of character set */ - cet_cs_alias_ibm863, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm863, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm863, /* first non standard character */ - cet_ucs4_cnt_ibm863, /* number of values in table */ - - cet_ucs4_to_ibm863_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm863_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm863_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00c2, 0x00e0, 0x00b6, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c0, 0x00a7, - 0x00c9, 0x00c8, 0x00ca, 0x00f4, 0x00cb, 0x00cf, 0x00fb, 0x00f9, - 0x00a4, 0x00d4, 0x00dc, 0x00a2, 0x00a3, 0x00d9, 0x00db, 0x0192, - 0x00a6, 0x00b4, 0x00f3, 0x00fa, 0x00a8, 0x00b8, 0x00b3, 0x00af, - 0x00ce, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00be, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm864.h b/gpsbabel/cet/ibm864.h deleted file mode 100644 index 5dfac836f..000000000 --- a/gpsbabel/cet/ibm864.h +++ /dev/null @@ -1,249 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM864" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm864_h -#define ibm864_h - -#define cet_cs_name_ibm864 "IBM864" - -const char *cet_cs_alias_ibm864[] = -{ - "IBM864", "864", "CP864", NULL -}; - -#define cet_ucs4_ofs_ibm864 128 -#define cet_ucs4_cnt_ibm864 128 - -const int cet_ucs4_map_ibm864[cet_ucs4_cnt_ibm864] = -{ - 0x00b0, 0x00b7, 0x2218, 0x221a, 0x2592, 0x2500, 0x2502, 0x253c, - 0x2524, 0x252c, 0x251c, 0x2534, 0x2510, 0x250c, 0x2514, 0x2518, - 0x00df, 0x221e, 0x00f8, 0x00b1, 0x00bd, 0x00bc, 0x2248, 0x00ab, - 0x00bb, 0xfef7, 0xfef8, -1, -1, 0xfefb, 0xfefc, 0xe016, - -1, 0x00ad, 0xfe82, 0x00a3, 0x00a4, 0xfe84, -1, -1, - 0xfe8e, 0x0628, 0x062a, 0x062b, 0x060c, 0x062c, 0x062d, 0x062e, - 0x0660, 0x0661, 0x0662, 0x0663, 0x0664, 0x0665, 0x0666, 0x0667, - 0x0668, 0x0669, 0x06a4, 0x061b, 0x0633, 0x0634, 0x0635, 0x061f, - 0x00a2, 0x0621, 0x0622, 0x0623, 0x0624, 0xfeca, 0x0626, 0x0627, - 0xfe91, 0x0629, 0xfe97, 0xfe9b, 0xfe9f, 0xfea3, 0xfea7, 0x062f, - 0x0630, 0x0631, 0x0632, 0xfeb3, 0xfeb7, 0xfebb, 0xfebf, 0x0637, - 0x0638, 0xfecb, 0xfecf, 0x00a6, 0x00ac, 0x00f7, 0x00d7, 0x0639, - 0x0640, 0xfed2, 0xfed6, 0xfedb, 0xfede, 0xfee3, 0xfee6, 0xfeeb, - 0x0648, 0x0649, 0xfef3, 0x0636, 0xfee2, 0xfece, 0x063a, 0x0645, - 0xfe7d, 0x0651, 0x0646, 0x0647, 0xfeec, 0xfef0, 0xfef2, 0x0641, - 0x0642, 0xfef5, 0xfef6, 0x0644, 0x0643, 0x064a, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm864_ct 121 - -const cet_ucs4_link_t cet_ucs4_to_ibm864_links[cet_ucs4_to_ibm864_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a2, 0xc0} /* sign */, - {0x00a6, 0xdb} /* bar */, - {0x00ab, 0x97} /* double angle quotation mark */, - {0x00ac, 0xdc} /* sign */, - {0x00ad, 0xa1} /* hyphen */, - {0x00b0, 0x80} /* sign */, - {0x00b1, 0x93} /* sign */, - {0x00b7, 0x81} /* dot */, - {0x00bb, 0x98} /* double angle quotation mark */, - {0x00bc, 0x95} /* fraction one quarter */, - {0x00bd, 0x94} /* fraction one half */, - {0x00d7, 0xde} /* sign */, - {0x00df, 0x90} /* small letter sharp s (german) */, - {0x00f7, 0xdd} /* sign */, - {0x00f8, 0x92} /* small letter o with stroke */, - {0x060c, 0xac} /* comma */, - {0x061b, 0xbb} /* semicolon */, - {0x061f, 0xbf} /* question mark */, - {0x0621, 0xc1} /* letter hamza */, - {0x0622, 0xc2} /* letter alef with madda above */, - {0x0623, 0xc3} /* letter alef with hamza above */, - {0x0624, 0xc4} /* letter waw with hamza above */, - {0x0626, 0xc6} /* letter yeh with hamza above */, - {0x0627, 0xc7} /* letter alef */, - {0x0628, 0xa9} /* letter beh */, - {0x0629, 0xc9} /* letter teh marbuta */, - {0x062a, 0xaa} /* letter teh */, - {0x062b, 0xab} /* letter theh */, - {0x062c, 0xad} /* letter jeem */, - {0x062d, 0xae} /* letter hah */, - {0x062e, 0xaf} /* letter khah */, - {0x062f, 0xcf} /* letter dal */, - {0x0630, 0xd0} /* letter thal */, - {0x0631, 0xd1} /* letter reh */, - {0x0632, 0xd2} /* letter zain */, - {0x0633, 0xbc} /* letter seen */, - {0x0634, 0xbd} /* letter sheen */, - {0x0635, 0xbe} /* letter sad */, - {0x0636, 0xeb} /* letter dad */, - {0x0637, 0xd7} /* letter tah */, - {0x0638, 0xd8} /* letter zah */, - {0x0639, 0xdf} /* letter ain */, - {0x063a, 0xee} /* letter ghain */, - {0x0640, 0xe0} /* tatweel */, - {0x0641, 0xf7} /* letter feh */, - {0x0642, 0xf8} /* letter qaf */, - {0x0643, 0xfc} /* letter kaf */, - {0x0644, 0xfb} /* letter lam */, - {0x0645, 0xef} /* letter meem */, - {0x0646, 0xf2} /* letter noon */, - {0x0647, 0xf3} /* letter heh */, - {0x0648, 0xe8} /* letter waw */, - {0x0649, 0xe9} /* letter alef maksura */, - {0x064a, 0xfd} /* letter yeh */, - {0x0651, 0xf1} /* shadda */, - {0x0660, 0xb0} /* arabic-indic digit zero */, - {0x0661, 0xb1} /* arabic-indic digit one */, - {0x0662, 0xb2} /* arabic-indic digit two */, - {0x0663, 0xb3} /* arabic-indic digit three */, - {0x0664, 0xb4} /* arabic-indic digit four */, - {0x0665, 0xb5} /* arabic-indic digit five */, - {0x0666, 0xb6} /* arabic-indic digit six */, - {0x0667, 0xb7} /* arabic-indic digit seven */, - {0x0668, 0xb8} /* arabic-indic digit eight */, - {0x0669, 0xb9} /* arabic-indic digit nine */, - {0x06a4, 0xba} /* letter veh */, - {0x2218, 0x82} /* operator */, - {0x221a, 0x83} /* root */, - {0x221e, 0x91} /* infinity */, - {0x2248, 0x96} /* equal to */, - {0x2500, 0x85} /* drawings light horizontal */, - {0x2502, 0x86} /* drawings light vertical */, - {0x250c, 0x8d} /* drawings light down and right */, - {0x2510, 0x8c} /* drawings light down and left */, - {0x2514, 0x8e} /* drawings light up and right */, - {0x2518, 0x8f} /* drawings light up and left */, - {0x251c, 0x8a} /* drawings light vertical and right */, - {0x2524, 0x88} /* drawings light vertical and left */, - {0x252c, 0x89} /* drawings light down and horizontal */, - {0x2534, 0x8b} /* drawings light up and horizontal */, - {0x253c, 0x87} /* drawings light vertical and horizontal */, - {0x2592, 0x84} /* shade */, - {0x25a0, 0xfe} /* square */, - {0xe016, 0x9f} /* letter alef final form compatibility (ibm868 144) */, - {0xfe7d, 0xf0} /* shadda medial form */, - {0xfe82, 0xa2} /* letter alef with madda above final form */, - {0xfe84, 0xa5} /* letter alef with hamza above final form */, - {0xfe8e, 0xa8} /* letter alef final form */, - {0xfe91, 0xc8} /* letter beh initial form */, - {0xfe97, 0xca} /* letter teh initial form */, - {0xfe9b, 0xcb} /* letter theh initial form */, - {0xfe9f, 0xcc} /* letter jeem initial form */, - {0xfea3, 0xcd} /* letter hah initial form */, - {0xfea7, 0xce} /* letter khah initial form */, - {0xfeb3, 0xd3} /* letter seen initial form */, - {0xfeb7, 0xd4} /* letter sheen initial form */, - {0xfebb, 0xd5} /* letter sad initial form */, - {0xfebf, 0xd6} /* letter dad initial form */, - {0xfeca, 0xc5} /* letter ain final form */, - {0xfecb, 0xd9} /* letter ain initial form */, - {0xfece, 0xed} /* letter ghain final form */, - {0xfecf, 0xda} /* letter ghain initial form */, - {0xfed2, 0xe1} /* letter feh final form */, - {0xfed6, 0xe2} /* letter qaf final form */, - {0xfedb, 0xe3} /* letter kaf initial form */, - {0xfede, 0xe4} /* letter lam final form */, - {0xfee2, 0xec} /* letter meem final form */, - {0xfee3, 0xe5} /* letter meem initial form */, - {0xfee6, 0xe6} /* letter noon final form */, - {0xfeeb, 0xe7} /* letter heh initial form */, - {0xfeec, 0xf4} /* letter heh medial form */, - {0xfef0, 0xf5} /* letter alef maksura final form */, - {0xfef2, 0xf6} /* letter yeh final form */, - {0xfef3, 0xea} /* letter yeh initial form */, - {0xfef5, 0xf9} /* ligature lam with alef with madda above */, - {0xfef6, 0xfa} /* ligature lam with alef with madda above */, - {0xfef7, 0x99} /* ligature lam with alef with hamza above */, - {0xfef8, 0x9a} /* ligature lam with alef with hamza above */, - {0xfefb, 0x9d} /* ligature lam with alef isolated form */, - {0xfefc, 0x9e} /* ligature lam with alef final form */ -}; - -/* -#define cet_ucs4_to_ibm864_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm864_extra[cet_ucs4_to_ibm864_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm864 = /* defined in cet.h */ -{ - cet_cs_name_ibm864, /* name of character set */ - cet_cs_alias_ibm864, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm864, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm864, /* first non standard character */ - cet_ucs4_cnt_ibm864, /* number of values in table */ - - cet_ucs4_to_ibm864_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm864_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm864_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00b0, 0x00b7, 0x2218, 0x221a, 0x2592, 0x2500, 0x2502, 0x253c, - 0x2524, 0x252c, 0x251c, 0x2534, 0x2510, 0x250c, 0x2514, 0x2518, - 0x00df, 0x221e, 0x00f8, 0x00b1, 0x00bd, 0x00bc, 0x2248, 0x00ab, - 0x00bb, 0xfef7, 0xfef8, -1, -1, 0xfefb, 0xfefc, 0xe016, - -1, 0x00ad, 0xfe82, 0x00a3, 0x00a4, 0xfe84, -1, -1, - 0xfe8e, 0x0628, 0x062a, 0x062b, 0x060c, 0x062c, 0x062d, 0x062e, - 0x0660, 0x0661, 0x0662, 0x0663, 0x0664, 0x0665, 0x0666, 0x0667, - 0x0668, 0x0669, 0x06a4, 0x061b, 0x0633, 0x0634, 0x0635, 0x061f, - 0x00a2, 0x0621, 0x0622, 0x0623, 0x0624, 0xfeca, 0x0626, 0x0627, - 0xfe91, 0x0629, 0xfe97, 0xfe9b, 0xfe9f, 0xfea3, 0xfea7, 0x062f, - 0x0630, 0x0631, 0x0632, 0xfeb3, 0xfeb7, 0xfebb, 0xfebf, 0x0637, - 0x0638, 0xfecb, 0xfecf, 0x00a6, 0x00ac, 0x00f7, 0x00d7, 0x0639, - 0x0640, 0xfed2, 0xfed6, 0xfedb, 0xfede, 0xfee3, 0xfee6, 0xfeeb, - 0x0648, 0x0649, 0xfef3, 0x0636, 0xfee2, 0xfece, 0x063a, 0x0645, - 0xfe7d, 0x0651, 0x0646, 0x0647, 0xfeec, 0xfef0, 0xfef2, 0x0641, - 0x0642, 0xfef5, 0xfef6, 0x0644, 0x0643, 0x064a, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm865.h b/gpsbabel/cet/ibm865.h deleted file mode 100644 index 2cde68dd8..000000000 --- a/gpsbabel/cet/ibm865.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM865" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm865_h -#define ibm865_h - -#define cet_cs_name_ibm865 "IBM865" - -const char *cet_cs_alias_ibm865[] = -{ - "IBM865", "865", "CP865", NULL -}; - -#define cet_ucs4_ofs_ibm865 128 -#define cet_ucs4_cnt_ibm865 128 - -const int cet_ucs4_map_ibm865[cet_ucs4_cnt_ibm865] = -{ - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x20a7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm865_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_ibm865_links[cet_ucs4_to_ibm865_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a1, 0xad} /* exclamation mark */, - {0x00a3, 0x9c} /* sign */, - {0x00aa, 0xa6} /* ordinal indicator */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0xaa} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b5, 0xe6} /* sign */, - {0x00b7, 0xf9} /* dot */, - {0x00ba, 0xa7} /* ordinal indicator */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00bd, 0xab} /* fraction one half */, - {0x00bf, 0xa8} /* question mark */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c5, 0x8f} /* capital letter a with ring above */, - {0x00c6, 0x92} /* capital letter ae */, - {0x00c7, 0x80} /* capital letter c with cedilla */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00d1, 0xa5} /* capital letter n with tilde */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00d8, 0x9d} /* capital letter o with stroke */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00df, 0xe1} /* small letter sharp s (german) */, - {0x00e0, 0x85} /* small letter a with grave */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e2, 0x83} /* small letter a with circumflex */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e5, 0x86} /* small letter a with ring above */, - {0x00e6, 0x91} /* small letter ae */, - {0x00e7, 0x87} /* small letter c with cedilla */, - {0x00e8, 0x8a} /* small letter e with grave */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ea, 0x88} /* small letter e with circumflex */, - {0x00eb, 0x89} /* small letter e with diaeresis */, - {0x00ec, 0x8d} /* small letter i with grave */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00ee, 0x8c} /* small letter i with circumflex */, - {0x00ef, 0x8b} /* small letter i with diaeresis */, - {0x00f1, 0xa4} /* small letter n with tilde */, - {0x00f2, 0x95} /* small letter o with grave */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00f8, 0x9b} /* small letter o with stroke */, - {0x00f9, 0x97} /* small letter u with grave */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fb, 0x96} /* small letter u with circumflex */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00ff, 0x98} /* small letter y with diaeresis */, - {0x0192, 0x9f} /* minuscule latine f hameçon */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x2022, 0xfa} /* puce */, - {0x207f, 0xfc} /* latin small letter n */, - {0x20a7, 0x9e} /* sign */, - {0x2205, 0xed} /* set */, - {0x2218, 0xf8} /* operator */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2310, 0xa9} /* not sign */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm865_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm865_extra[cet_ucs4_to_ibm865_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm865 = /* defined in cet.h */ -{ - cet_cs_name_ibm865, /* name of character set */ - cet_cs_alias_ibm865, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm865, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm865, /* first non standard character */ - cet_ucs4_cnt_ibm865, /* number of values in table */ - - cet_ucs4_to_ibm865_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm865_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm865_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, - 0x00ea, 0x00eb, 0x00e8, 0x00ef, 0x00ee, 0x00ec, 0x00c4, 0x00c5, - 0x00c9, 0x00e6, 0x00c6, 0x00f4, 0x00f6, 0x00f2, 0x00fb, 0x00f9, - 0x00ff, 0x00d6, 0x00dc, 0x00f8, 0x00a3, 0x00d8, 0x20a7, 0x0192, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x00f1, 0x00d1, 0x00aa, 0x00ba, - 0x00bf, 0x2310, 0x00ac, 0x00bd, 0x00bc, 0x00a1, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x00df, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x00b5, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2022, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm868.h b/gpsbabel/cet/ibm868.h deleted file mode 100644 index 1c278ef62..000000000 --- a/gpsbabel/cet/ibm868.h +++ /dev/null @@ -1,232 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM868" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm868_h -#define ibm868_h - -#define cet_cs_name_ibm868 "IBM868" - -const char *cet_cs_alias_ibm868[] = -{ - "IBM868", "868", "CP868", "cp-ar", - NULL -}; - -#define cet_ucs4_ofs_ibm868 128 -#define cet_ucs4_cnt_ibm868 128 - -const int cet_ucs4_map_ibm868[cet_ucs4_cnt_ibm868] = -{ - 0x0660, 0x0661, 0x0662, 0x0663, 0x0664, 0x0665, 0x0666, 0x0667, - 0x0668, 0x0669, 0x060c, 0x061b, 0x061f, 0x0622, 0x0627, 0xfe8e, - 0xe016, 0x0628, 0xfe91, 0x067e, -1, 0x0629, 0x062a, 0xfe97, - -1, -1, 0x062b, 0xfe9b, 0x062c, 0xfe9f, -1, -1, - 0x062d, 0xfea3, 0x062e, 0xfea7, 0x062f, -1, 0x0630, 0x0631, - -1, 0x0632, -1, 0x0633, 0xfeb3, 0x0634, 0x00ab, 0x00bb, - 0xfeb7, 0x0635, 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0xfebb, - 0x0636, 0xfebf, 0x0637, 0x2563, 0x2551, 0x2557, 0x255d, 0x0638, - 0x0639, 0x2510, 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, - 0xfeca, 0xfecb, 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, - 0x256c, 0xfecc, 0x063a, 0xfece, 0xfecf, 0xfed0, 0x0641, 0xfed3, - 0x0642, 0xfed7, 0xfeda, 0x2518, 0x250c, 0x2588, 0x2580, 0xfedb, - -1, 0x2584, -1, 0x0644, 0xfede, 0xfee0, 0x0645, 0xfee3, - -1, 0x0646, 0xfee7, -1, 0x0648, -1, -1, -1, - -1, 0x0621, 0x00ad, -1, -1, -1, -1, -1, - -1, -1, -1, 0x0651, 0xfe7d, -1, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm868_ct 103 - -const cet_ucs4_link_t cet_ucs4_to_ibm868_links[cet_ucs4_to_ibm868_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ad, 0xf2} /* hyphen */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x060c, 0x8a} /* comma */, - {0x061b, 0x8b} /* semicolon */, - {0x061f, 0x8c} /* question mark */, - {0x0621, 0xf1} /* letter hamza */, - {0x0622, 0x8d} /* letter alef with madda above */, - {0x0627, 0x8e} /* letter alef */, - {0x0628, 0x91} /* letter beh */, - {0x0629, 0x95} /* letter teh marbuta */, - {0x062a, 0x96} /* letter teh */, - {0x062b, 0x9a} /* letter theh */, - {0x062c, 0x9c} /* letter jeem */, - {0x062d, 0xa0} /* letter hah */, - {0x062e, 0xa2} /* letter khah */, - {0x062f, 0xa4} /* letter dal */, - {0x0630, 0xa6} /* letter thal */, - {0x0631, 0xa7} /* letter reh */, - {0x0632, 0xa9} /* letter zain */, - {0x0633, 0xab} /* letter seen */, - {0x0634, 0xad} /* letter sheen */, - {0x0635, 0xb1} /* letter sad */, - {0x0636, 0xb8} /* letter dad */, - {0x0637, 0xba} /* letter tah */, - {0x0638, 0xbf} /* letter zah */, - {0x0639, 0xc0} /* letter ain */, - {0x063a, 0xd2} /* letter ghain */, - {0x0641, 0xd6} /* letter feh */, - {0x0642, 0xd8} /* letter qaf */, - {0x0644, 0xe3} /* letter lam */, - {0x0645, 0xe6} /* letter meem */, - {0x0646, 0xe9} /* letter noon */, - {0x0648, 0xec} /* letter waw */, - {0x0651, 0xfb} /* shadda */, - {0x0660, 0x80} /* arabic-indic digit zero */, - {0x0661, 0x81} /* arabic-indic digit one */, - {0x0662, 0x82} /* arabic-indic digit two */, - {0x0663, 0x83} /* arabic-indic digit three */, - {0x0664, 0x84} /* arabic-indic digit four */, - {0x0665, 0x85} /* arabic-indic digit five */, - {0x0666, 0x86} /* arabic-indic digit six */, - {0x0667, 0x87} /* arabic-indic digit seven */, - {0x0668, 0x88} /* arabic-indic digit eight */, - {0x0669, 0x89} /* arabic-indic digit nine */, - {0x067e, 0x93} /* letter peh */, - {0x2500, 0xc6} /* drawings light horizontal */, - {0x2502, 0xb5} /* drawings light vertical */, - {0x250c, 0xdc} /* drawings light down and right */, - {0x2510, 0xc1} /* drawings light down and left */, - {0x2514, 0xc2} /* drawings light up and right */, - {0x2518, 0xdb} /* drawings light up and left */, - {0x251c, 0xc5} /* drawings light vertical and right */, - {0x2524, 0xb6} /* drawings light vertical and left */, - {0x252c, 0xc4} /* drawings light down and horizontal */, - {0x2534, 0xc3} /* drawings light up and horizontal */, - {0x253c, 0xc7} /* drawings light vertical and horizontal */, - {0x2550, 0xcf} /* drawings heavy horizontal */, - {0x2551, 0xbc} /* drawings heavy vertical */, - {0x2554, 0xcb} /* drawings heavy down and right */, - {0x2557, 0xbd} /* drawings heavy down and left */, - {0x255a, 0xca} /* drawings heavy up and right */, - {0x255d, 0xbe} /* drawings heavy up and left */, - {0x2560, 0xce} /* drawings heavy vertical and right */, - {0x2563, 0xbb} /* drawings heavy vertical and left */, - {0x2566, 0xcd} /* drawings heavy down and horizontal */, - {0x2569, 0xcc} /* drawings heavy up and horizontal */, - {0x256c, 0xd0} /* drawings heavy vertical and horizontal */, - {0x2580, 0xde} /* half block */, - {0x2584, 0xe1} /* half block */, - {0x2588, 0xdd} /* block */, - {0x2591, 0xb2} /* shade */, - {0x2592, 0xb3} /* shade */, - {0x2593, 0xb4} /* shade */, - {0x25a0, 0xfe} /* square */, - {0xe016, 0x90} /* letter alef final form compatibility (ibm868 144) */, - {0xfe7d, 0xfc} /* shadda medial form */, - {0xfe8e, 0x8f} /* letter alef final form */, - {0xfe91, 0x92} /* letter beh initial form */, - {0xfe97, 0x97} /* letter teh initial form */, - {0xfe9b, 0x9b} /* letter theh initial form */, - {0xfe9f, 0x9d} /* letter jeem initial form */, - {0xfea3, 0xa1} /* letter hah initial form */, - {0xfea7, 0xa3} /* letter khah initial form */, - {0xfeb3, 0xac} /* letter seen initial form */, - {0xfeb7, 0xb0} /* letter sheen initial form */, - {0xfebb, 0xb7} /* letter sad initial form */, - {0xfebf, 0xb9} /* letter dad initial form */, - {0xfeca, 0xc8} /* letter ain final form */, - {0xfecb, 0xc9} /* letter ain initial form */, - {0xfecc, 0xd1} /* letter ain medial form */, - {0xfece, 0xd3} /* letter ghain final form */, - {0xfecf, 0xd4} /* letter ghain initial form */, - {0xfed0, 0xd5} /* letter ghain medial form */, - {0xfed3, 0xd7} /* letter feh initial form */, - {0xfed7, 0xd9} /* letter qaf initial form */, - {0xfeda, 0xda} /* letter kaf final form */, - {0xfedb, 0xdf} /* letter kaf initial form */, - {0xfede, 0xe4} /* letter lam final form */, - {0xfee0, 0xe5} /* letter lam medial form */, - {0xfee3, 0xe7} /* letter meem initial form */, - {0xfee7, 0xea} /* letter noon initial form */ -}; - -/* -#define cet_ucs4_to_ibm868_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm868_extra[cet_ucs4_to_ibm868_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm868 = /* defined in cet.h */ -{ - cet_cs_name_ibm868, /* name of character set */ - cet_cs_alias_ibm868, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm868, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm868, /* first non standard character */ - cet_ucs4_cnt_ibm868, /* number of values in table */ - - cet_ucs4_to_ibm868_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm868_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm868_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0660, 0x0661, 0x0662, 0x0663, 0x0664, 0x0665, 0x0666, 0x0667, - 0x0668, 0x0669, 0x060c, 0x061b, 0x061f, 0x0622, 0x0627, 0xfe8e, - 0xe016, 0x0628, 0xfe91, 0x067e, -1, 0x0629, 0x062a, 0xfe97, - -1, -1, 0x062b, 0xfe9b, 0x062c, 0xfe9f, -1, -1, - 0x062d, 0xfea3, 0x062e, 0xfea7, 0x062f, -1, 0x0630, 0x0631, - -1, 0x0632, -1, 0x0633, 0xfeb3, 0x0634, 0x00ab, 0x00bb, - 0xfeb7, 0x0635, 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0xfebb, - 0x0636, 0xfebf, 0x0637, 0x2563, 0x2551, 0x2557, 0x255d, 0x0638, - 0x0639, 0x2510, 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, - 0xfeca, 0xfecb, 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, - 0x256c, 0xfecc, 0x063a, 0xfece, 0xfecf, 0xfed0, 0x0641, 0xfed3, - 0x0642, 0xfed7, 0xfeda, 0x2518, 0x250c, 0x2588, 0x2580, 0xfedb, - -1, 0x2584, -1, 0x0644, 0xfede, 0xfee0, 0x0645, 0xfee3, - -1, 0x0646, 0xfee7, -1, 0x0648, -1, -1, -1, - -1, 0x0621, 0x00ad, -1, -1, -1, -1, -1, - -1, -1, -1, 0x0651, 0xfe7d, -1, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm869.h b/gpsbabel/cet/ibm869.h deleted file mode 100644 index 57f2d9e0f..000000000 --- a/gpsbabel/cet/ibm869.h +++ /dev/null @@ -1,248 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM869" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm869_h -#define ibm869_h - -#define cet_cs_name_ibm869 "IBM869" - -const char *cet_cs_alias_ibm869[] = -{ - "IBM869", "869", "CP869", "cp-gr", - NULL -}; - -#define cet_ucs4_ofs_ibm869 128 -#define cet_ucs4_cnt_ibm869 128 - -const int cet_ucs4_map_ibm869[cet_ucs4_cnt_ibm869] = -{ - -1, -1, -1, -1, -1, -1, 0x0386, -1, - 0x00b7, 0x00ac, 0x00a6, 0x201b, 0x2019, 0x0388, 0x2014, 0x0389, - 0x038a, 0x03aa, 0x038c, -1, -1, 0x038e, 0x03ab, 0x00a9, - 0x038f, 0x00b2, 0x00b3, 0x03ac, 0x00a3, 0x03ad, 0x03ae, 0x03af, - 0x03ca, 0x0390, 0x03cc, 0x03cd, 0x0391, 0x0392, 0x0393, 0x0394, - 0x0395, 0x0396, 0x0397, 0x00bd, 0x0398, 0x0399, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x039a, 0x039b, 0x039c, - 0x039d, 0x2563, 0x2551, 0x2557, 0x255d, 0x039e, 0x039f, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x03a0, 0x03a1, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x03a3, - 0x03a4, 0x03a5, 0x03a6, 0x03a7, 0x03a8, 0x03a9, 0x03b1, 0x03b2, - 0x03b3, 0x2518, 0x250c, 0x2588, 0x2584, 0x03b4, 0x03b5, 0x2580, - 0x03b6, 0x03b7, 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, - 0x03be, 0x03bf, 0x03c0, 0x03c1, 0x03c3, 0x03c2, 0x03c4, 0x00b4, - 0x00ad, 0x00b1, 0x03c5, 0x03c6, 0x03c7, 0x00a7, 0x03c8, 0x0385, - 0x00b0, 0x00a8, 0x03c9, 0x03cb, 0x03b0, 0x03ce, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_ibm869_ct 119 - -const cet_ucs4_link_t cet_ucs4_to_ibm869_links[cet_ucs4_to_ibm869_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a3, 0x9c} /* sign */, - {0x00a6, 0x8a} /* bar */, - {0x00a7, 0xf5} /* sign */, - {0x00a8, 0xf9} /* diaeresis */, - {0x00a9, 0x97} /* sign */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00ac, 0x89} /* sign */, - {0x00ad, 0xf0} /* hyphen */, - {0x00b0, 0xf8} /* sign */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0x99} /* two */, - {0x00b3, 0x9a} /* three */, - {0x00b4, 0xef} /* accent */, - {0x00b7, 0x88} /* dot */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bd, 0xab} /* fraction one half */, - {0x0385, 0xf7} /* accent and diaeresis (tonos and dialytika) */, - {0x0386, 0x86} /* capital letter alpha with acute */, - {0x0388, 0x8d} /* capital letter epsilon with acute */, - {0x0389, 0x8f} /* capital letter eta with acute */, - {0x038a, 0x90} /* capital letter iota with acute */, - {0x038c, 0x92} /* capital letter omicron with acute */, - {0x038e, 0x95} /* capital letter upsilon with acute */, - {0x038f, 0x98} /* capital letter omega with acute */, - {0x0390, 0xa1} /* small letter iota with acute and diaeresis */, - {0x0391, 0xa4} /* capital letter alpha */, - {0x0392, 0xa5} /* capital letter beta */, - {0x0393, 0xa6} /* capital letter gamma */, - {0x0394, 0xa7} /* capital letter delta */, - {0x0395, 0xa8} /* capital letter epsilon */, - {0x0396, 0xa9} /* capital letter zeta */, - {0x0397, 0xaa} /* capital letter eta */, - {0x0398, 0xac} /* capital letter theta */, - {0x0399, 0xad} /* capital letter iota */, - {0x039a, 0xb5} /* capital letter kappa */, - {0x039b, 0xb6} /* capital letter lamda */, - {0x039c, 0xb7} /* capital letter mu */, - {0x039d, 0xb8} /* capital letter nu */, - {0x039e, 0xbd} /* capital letter xi */, - {0x039f, 0xbe} /* capital letter omicron */, - {0x03a0, 0xc6} /* capital letter pi */, - {0x03a1, 0xc7} /* capital letter rho */, - {0x03a3, 0xcf} /* capital letter sigma */, - {0x03a4, 0xd0} /* capital letter tau */, - {0x03a5, 0xd1} /* capital letter upsilon */, - {0x03a6, 0xd2} /* capital letter phi */, - {0x03a7, 0xd3} /* capital letter chi */, - {0x03a8, 0xd4} /* capital letter psi */, - {0x03a9, 0xd5} /* capital letter omega */, - {0x03aa, 0x91} /* capital letter iota with diaeresis */, - {0x03ab, 0x96} /* capital letter upsilon with diaeresis */, - {0x03ac, 0x9b} /* small letter alpha with acute */, - {0x03ad, 0x9d} /* small letter epsilon with acute */, - {0x03ae, 0x9e} /* small letter eta with acute */, - {0x03af, 0x9f} /* small letter iota with acute */, - {0x03b0, 0xfc} /* small letter upsilon with acute and diaeresis */, - {0x03b1, 0xd6} /* small letter alpha */, - {0x03b2, 0xd7} /* small letter beta */, - {0x03b3, 0xd8} /* small letter gamma */, - {0x03b4, 0xdd} /* small letter delta */, - {0x03b5, 0xde} /* small letter epsilon */, - {0x03b6, 0xe0} /* small letter zeta */, - {0x03b7, 0xe1} /* small letter eta */, - {0x03b8, 0xe2} /* small letter theta */, - {0x03b9, 0xe3} /* small letter iota */, - {0x03ba, 0xe4} /* small letter kappa */, - {0x03bb, 0xe5} /* small letter lamda */, - {0x03bc, 0xe6} /* small letter mu */, - {0x03bd, 0xe7} /* small letter nu */, - {0x03be, 0xe8} /* small letter xi */, - {0x03bf, 0xe9} /* small letter omicron */, - {0x03c0, 0xea} /* small letter pi */, - {0x03c1, 0xeb} /* small letter rho */, - {0x03c2, 0xed} /* small letter final sigma */, - {0x03c3, 0xec} /* small letter sigma */, - {0x03c4, 0xee} /* small letter tau */, - {0x03c5, 0xf2} /* small letter upsilon */, - {0x03c6, 0xf3} /* small letter phi */, - {0x03c7, 0xf4} /* small letter chi */, - {0x03c8, 0xf6} /* small letter psi */, - {0x03c9, 0xfa} /* small letter omega */, - {0x03ca, 0xa0} /* small letter iota with diaeresis */, - {0x03cb, 0xfb} /* small letter upsilon with diaeresis */, - {0x03cc, 0xa2} /* small letter omicron with acute */, - {0x03cd, 0xa3} /* small letter upsilon with acute */, - {0x03ce, 0xfd} /* small letter omega with acute */, - {0x2014, 0x8e} /* dash */, - {0x2019, 0x8c} /* single quotation mark */, - {0x201b, 0x8b} /* high-reversed-9 quotation mark */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_ibm869_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm869_extra[cet_ucs4_to_ibm869_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm869 = /* defined in cet.h */ -{ - cet_cs_name_ibm869, /* name of character set */ - cet_cs_alias_ibm869, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm869, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm869, /* first non standard character */ - cet_ucs4_cnt_ibm869, /* number of values in table */ - - cet_ucs4_to_ibm869_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm869_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm869_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, 0x0386, -1, - 0x00b7, 0x00ac, 0x00a6, 0x201b, 0x2019, 0x0388, 0x2014, 0x0389, - 0x038a, 0x03aa, 0x038c, -1, -1, 0x038e, 0x03ab, 0x00a9, - 0x038f, 0x00b2, 0x00b3, 0x03ac, 0x00a3, 0x03ad, 0x03ae, 0x03af, - 0x03ca, 0x0390, 0x03cc, 0x03cd, 0x0391, 0x0392, 0x0393, 0x0394, - 0x0395, 0x0396, 0x0397, 0x00bd, 0x0398, 0x0399, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x039a, 0x039b, 0x039c, - 0x039d, 0x2563, 0x2551, 0x2557, 0x255d, 0x039e, 0x039f, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x03a0, 0x03a1, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x03a3, - 0x03a4, 0x03a5, 0x03a6, 0x03a7, 0x03a8, 0x03a9, 0x03b1, 0x03b2, - 0x03b3, 0x2518, 0x250c, 0x2588, 0x2584, 0x03b4, 0x03b5, 0x2580, - 0x03b6, 0x03b7, 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, - 0x03be, 0x03bf, 0x03c0, 0x03c1, 0x03c3, 0x03c2, 0x03c4, 0x00b4, - 0x00ad, 0x00b1, 0x03c5, 0x03c6, 0x03c7, 0x00a7, 0x03c8, 0x0385, - 0x00b0, 0x00a8, 0x03c9, 0x03cb, 0x03b0, 0x03ce, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm871.h b/gpsbabel/cet/ibm871.h deleted file mode 100644 index 1fddaca3b..000000000 --- a/gpsbabel/cet/ibm871.h +++ /dev/null @@ -1,381 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM871" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm871_h -#define ibm871_h - -#define cet_cs_name_ibm871 "IBM871" - -const char *cet_cs_alias_ibm871[] = -{ - "IBM871", "871", "CP871", "ebcdic-cp-is", - NULL -}; - -#define cet_ucs4_ofs_ibm871 4 -#define cet_ucs4_cnt_ibm871 252 - -const int cet_ucs4_map_ibm871[cet_ucs4_cnt_ibm871] = -{ - 0x009c, 0x0009, 0x0086, 0x007f, 0x0097, 0x008d, 0x008e, 0x000b, - 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, - 0x009d, 0x0085, 0x0008, 0x0087, 0x0018, 0x0019, 0x0092, 0x008f, - 0x001c, 0x001d, 0x001e, 0x001f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x000a, 0x0017, 0x001b, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x0005, 0x0006, 0x0007, 0x0090, 0x0091, 0x0016, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0004, 0x0098, 0x0099, 0x009a, 0x009b, - 0x0014, 0x0015, 0x009e, 0x001a, 0x0020, 0x00a0, 0x00e2, 0x00e4, - 0x00e0, 0x00e1, 0x00e3, 0x00e5, 0x00e7, 0x00f1, 0x00fe, 0x002e, - 0x003c, 0x0028, 0x002b, 0x0021, 0x0026, 0x00e9, 0x00ea, 0x00eb, - 0x00e8, 0x00ed, 0x00ee, 0x00ef, 0x00ec, 0x00df, 0x00c6, 0x0024, - 0x002a, 0x0029, 0x003b, 0x00d6, 0x002d, 0x002f, 0x00c2, 0x00c4, - 0x00c0, 0x00c1, 0x00c3, 0x00c5, 0x00c7, 0x00d1, 0x00a6, 0x002c, - 0x0025, 0x005f, 0x003e, 0x003f, 0x00f8, 0x00c9, 0x00ca, 0x00cb, - 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00f0, 0x003a, 0x0023, - 0x00d0, 0x0027, 0x003d, 0x0022, 0x00d8, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x00ab, 0x00bb, - 0x0060, 0x00fd, 0x007b, 0x00b1, 0x00b0, 0x006a, 0x006b, 0x006c, - 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x00aa, 0x00ba, - 0x007d, 0x00b8, 0x005d, 0x00a4, 0x00b5, 0x00f6, 0x0073, 0x0074, - 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00a1, 0x00bf, - 0x0040, 0x00dd, 0x005b, 0x00ae, 0x00a2, 0x00a3, 0x00a5, 0x00b7, - 0x00a9, 0x00a7, 0x00b6, 0x00bc, 0x00bd, 0x00be, 0x00ac, 0x007c, - 0x00af, 0x00a8, 0x005c, 0x00d7, 0x00de, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x00ad, 0x00f4, - 0x007e, 0x00f2, 0x00f3, 0x00f5, 0x00e6, 0x004a, 0x004b, 0x004c, - 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x00b9, 0x00fb, - 0x00fc, 0x00f9, 0x00fa, 0x00ff, 0x00b4, 0x00f7, 0x0053, 0x0054, - 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00b2, 0x00d4, - 0x005e, 0x00d2, 0x00d3, 0x00d5, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x00b3, 0x00db, - 0x00dc, 0x00d9, 0x00da, 0x009f -}; - -#define cet_ucs4_to_ibm871_ct 236 - -const cet_ucs4_link_t cet_ucs4_to_ibm871_links[cet_ucs4_to_ibm871_ct] = -{ - {0x0004, 0x37} /* of transmission (eot) */, - {0x0005, 0x2d} /* (enq) */, - {0x0006, 0x2e} /* (ack) */, - {0x0007, 0x2f} /* (bel) */, - {0x0008, 0x16} /* (bs) */, - {0x0009, 0x05} /* tabulation (ht) */, - {0x000a, 0x25} /* feed (lf) */, - {0x0014, 0x3c} /* control four (dc4) */, - {0x0015, 0x3d} /* acknowledge (nak) */, - {0x0016, 0x32} /* idle (syn) */, - {0x0017, 0x26} /* of transmission block (etb) */, - {0x001a, 0x3f} /* (sub) */, - {0x001b, 0x27} /* (esc) */, - {0x0020, 0x40} /* space */, - {0x0021, 0x4f} /* mark */, - {0x0022, 0x7f} /* mark */, - {0x0023, 0x7b} /* sign */, - {0x0024, 0x5b} /* sign */, - {0x0025, 0x6c} /* sign */, - {0x0026, 0x50} /* ampersand */, - {0x0027, 0x7d} /* apostrophe */, - {0x0028, 0x4d} /* parenthesis */, - {0x0029, 0x5d} /* parenthesis */, - {0x002a, 0x5c} /* asterisk */, - {0x002b, 0x4e} /* sign */, - {0x002c, 0x6b} /* comma */, - {0x002d, 0x60} /* hyphen-minus */, - {0x002e, 0x4b} /* stop */, - {0x002f, 0x61} /* solidus */, - {0x0030, 0xf0} /* zero */, - {0x0031, 0xf1} /* one */, - {0x0032, 0xf2} /* two */, - {0x0033, 0xf3} /* three */, - {0x0034, 0xf4} /* four */, - {0x0035, 0xf5} /* five */, - {0x0036, 0xf6} /* six */, - {0x0037, 0xf7} /* seven */, - {0x0038, 0xf8} /* eight */, - {0x0039, 0xf9} /* nine */, - {0x003a, 0x7a} /* colon */, - {0x003b, 0x5e} /* semicolon */, - {0x003c, 0x4c} /* sign */, - {0x003d, 0x7e} /* sign */, - {0x003e, 0x6e} /* sign */, - {0x003f, 0x6f} /* mark */, - {0x0040, 0xac} /* at */, - {0x0041, 0xc1} /* capital letter a */, - {0x0042, 0xc2} /* capital letter b */, - {0x0043, 0xc3} /* capital letter c */, - {0x0044, 0xc4} /* capital letter d */, - {0x0045, 0xc5} /* capital letter e */, - {0x0046, 0xc6} /* capital letter f */, - {0x0047, 0xc7} /* capital letter g */, - {0x0048, 0xc8} /* capital letter h */, - {0x0049, 0xc9} /* capital letter i */, - {0x004a, 0xd1} /* capital letter j */, - {0x004b, 0xd2} /* capital letter k */, - {0x004c, 0xd3} /* capital letter l */, - {0x004d, 0xd4} /* capital letter m */, - {0x004e, 0xd5} /* capital letter n */, - {0x004f, 0xd6} /* capital letter o */, - {0x0050, 0xd7} /* capital letter p */, - {0x0051, 0xd8} /* capital letter q */, - {0x0052, 0xd9} /* capital letter r */, - {0x0053, 0xe2} /* capital letter s */, - {0x0054, 0xe3} /* capital letter t */, - {0x0055, 0xe4} /* capital letter u */, - {0x0056, 0xe5} /* capital letter v */, - {0x0057, 0xe6} /* capital letter w */, - {0x0058, 0xe7} /* capital letter x */, - {0x0059, 0xe8} /* capital letter y */, - {0x005a, 0xe9} /* capital letter z */, - {0x005b, 0xae} /* square bracket */, - {0x005c, 0xbe} /* solidus */, - {0x005d, 0x9e} /* square bracket */, - {0x005e, 0xec} /* accent */, - {0x005f, 0x6d} /* line */, - {0x0060, 0x8c} /* accent */, - {0x0061, 0x81} /* small letter a */, - {0x0062, 0x82} /* small letter b */, - {0x0063, 0x83} /* small letter c */, - {0x0064, 0x84} /* small letter d */, - {0x0065, 0x85} /* small letter e */, - {0x0066, 0x86} /* small letter f */, - {0x0067, 0x87} /* small letter g */, - {0x0068, 0x88} /* small letter h */, - {0x0069, 0x89} /* small letter i */, - {0x006a, 0x91} /* small letter j */, - {0x006b, 0x92} /* small letter k */, - {0x006c, 0x93} /* small letter l */, - {0x006d, 0x94} /* small letter m */, - {0x006e, 0x95} /* small letter n */, - {0x006f, 0x96} /* small letter o */, - {0x0070, 0x97} /* small letter p */, - {0x0071, 0x98} /* small letter q */, - {0x0072, 0x99} /* small letter r */, - {0x0073, 0xa2} /* small letter s */, - {0x0074, 0xa3} /* small letter t */, - {0x0075, 0xa4} /* small letter u */, - {0x0076, 0xa5} /* small letter v */, - {0x0077, 0xa6} /* small letter w */, - {0x0078, 0xa7} /* small letter x */, - {0x0079, 0xa8} /* small letter y */, - {0x007a, 0xa9} /* small letter z */, - {0x007b, 0x8e} /* curly bracket */, - {0x007c, 0xbb} /* line */, - {0x007d, 0x9c} /* curly bracket */, - {0x007e, 0xcc} /* tilde */, - {0x007f, 0x07} /* (del) */, - {0x0080, 0x20} /* character (pad) */, - {0x0081, 0x21} /* octet preset (hop) */, - {0x0082, 0x22} /* permitted here (bph) */, - {0x0083, 0x23} /* break here (nbh) */, - {0x0084, 0x24} /* (ind) */, - {0x0085, 0x15} /* line (nel) */, - {0x0086, 0x06} /* of selected area (ssa) */, - {0x0087, 0x17} /* of selected area (esa) */, - {0x0088, 0x28} /* tabulation set (hts) */, - {0x0089, 0x29} /* tabulation with justification (htj) */, - {0x008a, 0x2a} /* tabulation set (vts) */, - {0x008b, 0x2b} /* line forward (pld) */, - {0x008c, 0x2c} /* line backward (plu) */, - {0x008d, 0x09} /* line feed (ri) */, - {0x008e, 0x0a} /* two (ss2) */, - {0x008f, 0x1b} /* three (ss3) */, - {0x0090, 0x30} /* control string (dcs) */, - {0x0091, 0x31} /* use one (pu1) */, - {0x0092, 0x1a} /* use two (pu2) */, - {0x0093, 0x33} /* transmit state (sts) */, - {0x0094, 0x34} /* character (cch) */, - {0x0095, 0x35} /* waiting (mw) */, - {0x0096, 0x36} /* of guarded area (spa) */, - {0x0097, 0x08} /* of guarded area (epa) */, - {0x0098, 0x38} /* of string (sos) */, - {0x0099, 0x39} /* graphic character introducer (sgci) */, - {0x009a, 0x3a} /* character introducer (sci) */, - {0x009b, 0x3b} /* sequence introducer (csi) */, - {0x009c, 0x04} /* terminator (st) */, - {0x009d, 0x14} /* system command (osc) */, - {0x009e, 0x3e} /* message (pm) */, - {0x009f, 0xff} /* program command (apc) */, - {0x00a0, 0x41} /* space */, - {0x00a1, 0xaa} /* exclamation mark */, - {0x00a2, 0xb0} /* sign */, - {0x00a3, 0xb1} /* sign */, - {0x00a4, 0x9f} /* sign */, - {0x00a5, 0xb2} /* sign */, - {0x00a6, 0x6a} /* bar */, - {0x00a7, 0xb5} /* sign */, - {0x00a8, 0xbd} /* diaeresis */, - {0x00a9, 0xb4} /* sign */, - {0x00aa, 0x9a} /* ordinal indicator */, - {0x00ab, 0x8a} /* double angle quotation mark */, - {0x00ac, 0xba} /* sign */, - {0x00ad, 0xca} /* hyphen */, - {0x00ae, 0xaf} /* sign */, - {0x00af, 0xbc} /* macron */, - {0x00b0, 0x90} /* sign */, - {0x00b1, 0x8f} /* sign */, - {0x00b2, 0xea} /* two */, - {0x00b3, 0xfa} /* three */, - {0x00b4, 0xe0} /* accent */, - {0x00b5, 0xa0} /* sign */, - {0x00b7, 0xb3} /* dot */, - {0x00b8, 0x9d} /* cedilla */, - {0x00b9, 0xda} /* one */, - {0x00ba, 0x9b} /* ordinal indicator */, - {0x00bb, 0x8b} /* double angle quotation mark */, - {0x00bc, 0xb7} /* fraction one quarter */, - {0x00bd, 0xb8} /* fraction one half */, - {0x00be, 0xb9} /* fraction three quarters */, - {0x00bf, 0xab} /* question mark */, - {0x00c0, 0x64} /* capital letter a with grave */, - {0x00c1, 0x65} /* capital letter a with acute */, - {0x00c2, 0x62} /* capital letter a with circumflex */, - {0x00c3, 0x66} /* capital letter a with tilde */, - {0x00c4, 0x63} /* capital letter a with diaeresis */, - {0x00c5, 0x67} /* capital letter a with ring above */, - {0x00c6, 0x5a} /* capital letter ae */, - {0x00c7, 0x68} /* capital letter c with cedilla */, - {0x00c8, 0x74} /* capital letter e with grave */, - {0x00c9, 0x71} /* capital letter e with acute */, - {0x00ca, 0x72} /* capital letter e with circumflex */, - {0x00cb, 0x73} /* capital letter e with diaeresis */, - {0x00cc, 0x78} /* capital letter i with grave */, - {0x00cd, 0x75} /* capital letter i with acute */, - {0x00ce, 0x76} /* capital letter i with circumflex */, - {0x00cf, 0x77} /* capital letter i with diaeresis */, - {0x00d0, 0x7c} /* capital letter eth (icelandic) */, - {0x00d1, 0x69} /* capital letter n with tilde */, - {0x00d2, 0xed} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xeb} /* capital letter o with circumflex */, - {0x00d5, 0xef} /* capital letter o with tilde */, - {0x00d6, 0x5f} /* capital letter o with diaeresis */, - {0x00d7, 0xbf} /* sign */, - {0x00d8, 0x80} /* capital letter o with stroke */, - {0x00d9, 0xfd} /* capital letter u with grave */, - {0x00da, 0xfe} /* capital letter u with acute */, - {0x00db, 0xfb} /* capital letter u with circumflex */, - {0x00dc, 0xfc} /* capital letter u with diaeresis */, - {0x00dd, 0xad} /* capital letter y with acute */, - {0x00de, 0xc0} /* capital letter thorn (icelandic) */, - {0x00df, 0x59} /* small letter sharp s (german) */, - {0x00e0, 0x44} /* small letter a with grave */, - {0x00e1, 0x45} /* small letter a with acute */, - {0x00e2, 0x42} /* small letter a with circumflex */, - {0x00e3, 0x46} /* small letter a with tilde */, - {0x00e4, 0x43} /* small letter a with diaeresis */, - {0x00e5, 0x47} /* small letter a with ring above */, - {0x00e6, 0xd0} /* small letter ae */, - {0x00e7, 0x48} /* small letter c with cedilla */, - {0x00e8, 0x54} /* small letter e with grave */, - {0x00e9, 0x51} /* small letter e with acute */, - {0x00ea, 0x52} /* small letter e with circumflex */, - {0x00eb, 0x53} /* small letter e with diaeresis */, - {0x00ec, 0x58} /* small letter i with grave */, - {0x00ed, 0x55} /* small letter i with acute */, - {0x00ee, 0x56} /* small letter i with circumflex */, - {0x00ef, 0x57} /* small letter i with diaeresis */, - {0x00f0, 0x79} /* small letter eth (icelandic) */, - {0x00f1, 0x49} /* small letter n with tilde */, - {0x00f2, 0xcd} /* small letter o with grave */, - {0x00f3, 0xce} /* small letter o with acute */, - {0x00f4, 0xcb} /* small letter o with circumflex */, - {0x00f5, 0xcf} /* small letter o with tilde */, - {0x00f6, 0xa1} /* small letter o with diaeresis */, - {0x00f7, 0xe1} /* sign */, - {0x00f8, 0x70} /* small letter o with stroke */, - {0x00f9, 0xdd} /* small letter u with grave */, - {0x00fa, 0xde} /* small letter u with acute */, - {0x00fb, 0xdb} /* small letter u with circumflex */, - {0x00fc, 0xdc} /* small letter u with diaeresis */, - {0x00fd, 0x8d} /* small letter y with acute */, - {0x00fe, 0x4a} /* small letter thorn (icelandic) */, - {0x00ff, 0xdf} /* small letter y with diaeresis */ -}; - -/* -#define cet_ucs4_to_ibm871_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm871_extra[cet_ucs4_to_ibm871_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm871 = /* defined in cet.h */ -{ - cet_cs_name_ibm871, /* name of character set */ - cet_cs_alias_ibm871, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm871, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm871, /* first non standard character */ - cet_ucs4_cnt_ibm871, /* number of values in table */ - - cet_ucs4_to_ibm871_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm871_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm871_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x009c, 0x0009, 0x0086, 0x007f, - 0x0097, 0x008d, 0x008e, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x009d, 0x0085, 0x0008, 0x0087, - 0x0018, 0x0019, 0x0092, 0x008f, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x000a, 0x0017, 0x001b, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x0005, 0x0006, 0x0007, - 0x0090, 0x0091, 0x0016, 0x0093, 0x0094, 0x0095, 0x0096, 0x0004, - 0x0098, 0x0099, 0x009a, 0x009b, 0x0014, 0x0015, 0x009e, 0x001a, - 0x0020, 0x00a0, 0x00e2, 0x00e4, 0x00e0, 0x00e1, 0x00e3, 0x00e5, - 0x00e7, 0x00f1, 0x00fe, 0x002e, 0x003c, 0x0028, 0x002b, 0x0021, - 0x0026, 0x00e9, 0x00ea, 0x00eb, 0x00e8, 0x00ed, 0x00ee, 0x00ef, - 0x00ec, 0x00df, 0x00c6, 0x0024, 0x002a, 0x0029, 0x003b, 0x00d6, - 0x002d, 0x002f, 0x00c2, 0x00c4, 0x00c0, 0x00c1, 0x00c3, 0x00c5, - 0x00c7, 0x00d1, 0x00a6, 0x002c, 0x0025, 0x005f, 0x003e, 0x003f, - 0x00f8, 0x00c9, 0x00ca, 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, - 0x00cc, 0x00f0, 0x003a, 0x0023, 0x00d0, 0x0027, 0x003d, 0x0022, - 0x00d8, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x00ab, 0x00bb, 0x0060, 0x00fd, 0x007b, 0x00b1, - 0x00b0, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x00aa, 0x00ba, 0x007d, 0x00b8, 0x005d, 0x00a4, - 0x00b5, 0x00f6, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x00a1, 0x00bf, 0x0040, 0x00dd, 0x005b, 0x00ae, - 0x00a2, 0x00a3, 0x00a5, 0x00b7, 0x00a9, 0x00a7, 0x00b6, 0x00bc, - 0x00bd, 0x00be, 0x00ac, 0x007c, 0x00af, 0x00a8, 0x005c, 0x00d7, - 0x00de, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x00ad, 0x00f4, 0x007e, 0x00f2, 0x00f3, 0x00f5, - 0x00e6, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x00b9, 0x00fb, 0x00fc, 0x00f9, 0x00fa, 0x00ff, - 0x00b4, 0x00f7, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x00b2, 0x00d4, 0x005e, 0x00d2, 0x00d3, 0x00d5, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm891.h b/gpsbabel/cet/ibm891.h deleted file mode 100644 index 85132b473..000000000 --- a/gpsbabel/cet/ibm891.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM891" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm891_h -#define ibm891_h - -#define cet_cs_name_ibm891 "IBM891" - -const char *cet_cs_alias_ibm891[] = -{ - "IBM891", "891", "CP891", NULL -}; - -#define cet_ucs4_ofs_ibm891 128 -#define cet_ucs4_cnt_ibm891 1 - -const int cet_ucs4_map_ibm891[cet_ucs4_cnt_ibm891] = {0}; - -#define cet_ucs4_to_ibm891_ct 1 - -const cet_ucs4_link_t cet_ucs4_to_ibm891_links[cet_ucs4_to_ibm891_ct] = {0}; - -/* -#define cet_ucs4_to_ibm891_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm891_extra[cet_ucs4_to_ibm891_extra_ct] = {0}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm891 = /* defined in cet.h */ -{ - cet_cs_name_ibm891, /* name of character set */ - cet_cs_alias_ibm891, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm891, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm891, /* first non standard character */ - cet_ucs4_cnt_ibm891, /* number of values in table */ - - cet_ucs4_to_ibm891_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm891_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm891_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm903.h b/gpsbabel/cet/ibm903.h deleted file mode 100644 index eeadd40a9..000000000 --- a/gpsbabel/cet/ibm903.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM903" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm903_h -#define ibm903_h - -#define cet_cs_name_ibm903 "IBM903" - -const char *cet_cs_alias_ibm903[] = -{ - "IBM903", "903", "CP903", NULL -}; - -#define cet_ucs4_ofs_ibm903 128 -#define cet_ucs4_cnt_ibm903 1 - -const int cet_ucs4_map_ibm903[cet_ucs4_cnt_ibm903] = {0}; - -#define cet_ucs4_to_ibm903_ct 1 - -const cet_ucs4_link_t cet_ucs4_to_ibm903_links[cet_ucs4_to_ibm903_ct] = {0}; - -/* -#define cet_ucs4_to_ibm903_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm903_extra[cet_ucs4_to_ibm903_extra_ct] = {0}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm903 = /* defined in cet.h */ -{ - cet_cs_name_ibm903, /* name of character set */ - cet_cs_alias_ibm903, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm903, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm903, /* first non standard character */ - cet_ucs4_cnt_ibm903, /* number of values in table */ - - cet_ucs4_to_ibm903_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm903_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm903_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ibm904.h b/gpsbabel/cet/ibm904.h deleted file mode 100644 index 78f489c8b..000000000 --- a/gpsbabel/cet/ibm904.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IBM904" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ibm904_h -#define ibm904_h - -#define cet_cs_name_ibm904 "IBM904" - -const char *cet_cs_alias_ibm904[] = -{ - "IBM904", "904", "CP904", NULL -}; - -#define cet_ucs4_ofs_ibm904 128 -#define cet_ucs4_cnt_ibm904 127 - -const int cet_ucs4_map_ibm904[cet_ucs4_cnt_ibm904] = -{ - 0x00a2, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 0x00ac, 0x00a6 -}; - -#define cet_ucs4_to_ibm904_ct 3 - -const cet_ucs4_link_t cet_ucs4_to_ibm904_links[cet_ucs4_to_ibm904_ct] = -{ - {0x00a2, 0x80} /* sign */, - {0x00a6, 0xfe} /* bar */, - {0x00ac, 0xfd} /* sign */ -}; - -/* -#define cet_ucs4_to_ibm904_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ibm904_extra[cet_ucs4_to_ibm904_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ibm904 = /* defined in cet.h */ -{ - cet_cs_name_ibm904, /* name of character set */ - cet_cs_alias_ibm904, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ibm904, /* char to UCS-4 value table */ - cet_ucs4_ofs_ibm904, /* first non standard character */ - cet_ucs4_cnt_ibm904, /* number of values in table */ - - cet_ucs4_to_ibm904_links, /* UCS-4 to char links */ - cet_ucs4_to_ibm904_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ibm904_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00a2, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 0x00ac, 0x00a6, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iec_p27_1.h b/gpsbabel/cet/iec_p27_1.h deleted file mode 100644 index 44ba106bc..000000000 --- a/gpsbabel/cet/iec_p27_1.h +++ /dev/null @@ -1,220 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IEC_P27-1" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iec_p27_1_h -#define iec_p27_1_h - -#define cet_cs_name_iec_p27_1 "IEC_P27-1" - -const char *cet_cs_alias_iec_p27_1[] = -{ - "IEC_P27-1", "iso-ir-143", NULL -}; - -#define cet_ucs4_ofs_iec_p27_1 160 -#define cet_ucs4_cnt_iec_p27_1 96 - -const int cet_ucs4_map_iec_p27_1[cet_ucs4_cnt_iec_p27_1] = -{ - 0x02c7, 0x2261, 0x2227, 0x2228, 0x2229, 0x222a, 0x2282, 0x2283, - 0x21d0, 0x21d2, 0x2234, 0x2235, 0x2208, 0x220b, 0x2286, 0x2287, - 0x222b, 0x222e, 0x221e, 0x2207, 0x2202, 0x223c, 0x2248, 0x2243, - 0x2245, 0x2264, 0x2260, 0x2265, 0x2194, 0x00ac, 0x2200, 0x2203, - 0x05d0, 0x25a1, 0x2225, 0x0393, 0x0394, 0x22a5, 0x2220, 0x221f, - 0x0398, 0x2329, 0x232a, 0x039b, 0x2032, 0x2033, 0x039e, 0x2213, - 0x03a0, 0x00b2, 0x03a3, 0x00d7, 0x00b3, 0x03a5, 0x03a6, 0x00b7, - 0x03a8, 0x03a9, 0x2205, 0x21c0, 0x221a, 0x0192, 0x221d, 0x00b1, - 0x00b0, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, - 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x2030, - 0x03c0, 0x03c1, 0x03c3, 0x00f7, 0x03c4, 0x03c5, 0x03c6, 0x03c7, - 0x03c8, 0x03c9, 0x2020, 0x2190, 0x2191, 0x2192, 0x2193, 0x203e -}; - -#define cet_ucs4_to_iec_p27_1_ct 96 - -const cet_ucs4_link_t cet_ucs4_to_iec_p27_1_links[cet_ucs4_to_iec_p27_1_ct] = -{ - {0x00ac, 0xbd} /* sign */, - {0x00b0, 0xe0} /* sign */, - {0x00b1, 0xdf} /* sign */, - {0x00b2, 0xd1} /* two */, - {0x00b3, 0xd4} /* three */, - {0x00b7, 0xd7} /* dot */, - {0x00d7, 0xd3} /* sign */, - {0x00f7, 0xf3} /* sign */, - {0x0192, 0xdd} /* minuscule latine f hameçon */, - {0x02c7, 0xa0} /* caron */, - {0x0393, 0xc3} /* capital letter gamma */, - {0x0394, 0xc4} /* capital letter delta */, - {0x0398, 0xc8} /* capital letter theta */, - {0x039b, 0xcb} /* capital letter lamda */, - {0x039e, 0xce} /* capital letter xi */, - {0x03a0, 0xd0} /* capital letter pi */, - {0x03a3, 0xd2} /* capital letter sigma */, - {0x03a5, 0xd5} /* capital letter upsilon */, - {0x03a6, 0xd6} /* capital letter phi */, - {0x03a8, 0xd8} /* capital letter psi */, - {0x03a9, 0xd9} /* capital letter omega */, - {0x03b1, 0xe1} /* small letter alpha */, - {0x03b2, 0xe2} /* small letter beta */, - {0x03b3, 0xe3} /* small letter gamma */, - {0x03b4, 0xe4} /* small letter delta */, - {0x03b5, 0xe5} /* small letter epsilon */, - {0x03b6, 0xe6} /* small letter zeta */, - {0x03b7, 0xe7} /* small letter eta */, - {0x03b8, 0xe8} /* small letter theta */, - {0x03b9, 0xe9} /* small letter iota */, - {0x03ba, 0xea} /* small letter kappa */, - {0x03bb, 0xeb} /* small letter lamda */, - {0x03bc, 0xec} /* small letter mu */, - {0x03bd, 0xed} /* small letter nu */, - {0x03be, 0xee} /* small letter xi */, - {0x03c0, 0xf0} /* small letter pi */, - {0x03c1, 0xf1} /* small letter rho */, - {0x03c3, 0xf2} /* small letter sigma */, - {0x03c4, 0xf4} /* small letter tau */, - {0x03c5, 0xf5} /* small letter upsilon */, - {0x03c6, 0xf6} /* small letter phi */, - {0x03c7, 0xf7} /* small letter chi */, - {0x03c8, 0xf8} /* small letter psi */, - {0x03c9, 0xf9} /* small letter omega */, - {0x05d0, 0xc0} /* letter alef */, - {0x2020, 0xfa} /* dagger */, - {0x2030, 0xef} /* mille sign */, - {0x2032, 0xcc} /* prime */, - {0x2033, 0xcd} /* prime */, - {0x203e, 0xff} /* overline */, - {0x2190, 0xfb} /* arrow */, - {0x2191, 0xfc} /* arrow */, - {0x2192, 0xfd} /* arrow */, - {0x2193, 0xfe} /* arrow */, - {0x2194, 0xbc} /* right arrow */, - {0x21c0, 0xdb} /* vector above (iso-10646-1dis 032/032/038/046) */, - {0x21d0, 0xa8} /* double arrow */, - {0x21d2, 0xa9} /* double arrow */, - {0x2200, 0xbe} /* all */, - {0x2202, 0xb4} /* differential */, - {0x2203, 0xbf} /* exists */, - {0x2205, 0xda} /* set */, - {0x2207, 0xb3} /* nabla */, - {0x2208, 0xac} /* of */, - {0x220b, 0xad} /* as member */, - {0x2213, 0xcf} /* sign */, - {0x221a, 0xdc} /* root */, - {0x221d, 0xde} /* to */, - {0x221e, 0xb2} /* infinity */, - {0x221f, 0xc7} /* angle */, - {0x2220, 0xc6} /* angle */, - {0x2225, 0xc2} /* to */, - {0x2227, 0xa2} /* and */, - {0x2228, 0xa3} /* or */, - {0x2229, 0xa4} /* intersection */, - {0x222a, 0xa5} /* union */, - {0x222b, 0xb0} /* integral */, - {0x222e, 0xb1} /* integral */, - {0x2234, 0xaa} /* therefore */, - {0x2235, 0xab} /* because */, - {0x223c, 0xb5} /* operator */, - {0x2243, 0xb7} /* equal to */, - {0x2245, 0xb8} /* equal to */, - {0x2248, 0xb6} /* equal to */, - {0x2260, 0xba} /* equal to */, - {0x2261, 0xa1} /* to */, - {0x2264, 0xb9} /* or equal to */, - {0x2265, 0xbb} /* or equal to */, - {0x2282, 0xa6} /* of */, - {0x2283, 0xa7} /* of */, - {0x2286, 0xae} /* of or equal to */, - {0x2287, 0xaf} /* of or equal to */, - {0x22a5, 0xc5} /* tack */, - {0x2329, 0xc9} /* angle bracket */, - {0x232a, 0xca} /* angle bracket */, - {0x25a1, 0xc1} /* square */ -}; - -/* -#define cet_ucs4_to_iec_p27_1_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iec_p27_1_extra[cet_ucs4_to_iec_p27_1_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iec_p27_1 = /* defined in cet.h */ -{ - cet_cs_name_iec_p27_1, /* name of character set */ - cet_cs_alias_iec_p27_1, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iec_p27_1, /* char to UCS-4 value table */ - cet_ucs4_ofs_iec_p27_1, /* first non standard character */ - cet_ucs4_cnt_iec_p27_1, /* number of values in table */ - - cet_ucs4_to_iec_p27_1_links, /* UCS-4 to char links */ - cet_ucs4_to_iec_p27_1_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iec_p27_1_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x02c7, 0x2261, 0x2227, 0x2228, 0x2229, 0x222a, 0x2282, 0x2283, - 0x21d0, 0x21d2, 0x2234, 0x2235, 0x2208, 0x220b, 0x2286, 0x2287, - 0x222b, 0x222e, 0x221e, 0x2207, 0x2202, 0x223c, 0x2248, 0x2243, - 0x2245, 0x2264, 0x2260, 0x2265, 0x2194, 0x00ac, 0x2200, 0x2203, - 0x05d0, 0x25a1, 0x2225, 0x0393, 0x0394, 0x22a5, 0x2220, 0x221f, - 0x0398, 0x2329, 0x232a, 0x039b, 0x2032, 0x2033, 0x039e, 0x2213, - 0x03a0, 0x00b2, 0x03a3, 0x00d7, 0x00b3, 0x03a5, 0x03a6, 0x00b7, - 0x03a8, 0x03a9, 0x2205, 0x21c0, 0x221a, 0x0192, 0x221d, 0x00b1, - 0x00b0, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, - 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x2030, - 0x03c0, 0x03c1, 0x03c3, 0x00f7, 0x03c4, 0x03c5, 0x03c6, 0x03c7, - 0x03c8, 0x03c9, 0x2020, 0x2190, 0x2191, 0x2192, 0x2193, 0x203e -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_10367_box.h b/gpsbabel/cet/iso_10367_box.h deleted file mode 100644 index c29333d0f..000000000 --- a/gpsbabel/cet/iso_10367_box.h +++ /dev/null @@ -1,149 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO_10367-box" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_10367_box_h -#define iso_10367_box_h - -#define cet_cs_name_iso_10367_box "ISO_10367-box" - -const char *cet_cs_alias_iso_10367_box[] = -{ - "ISO_10367-box", "iso-ir-155", NULL -}; - -#define cet_ucs4_ofs_iso_10367_box 160 -#define cet_ucs4_cnt_iso_10367_box 62 - -const int cet_ucs4_map_iso_10367_box[cet_ucs4_cnt_iso_10367_box] = -{ - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x2551, 0x2550, 0x2554, 0x2557, 0x255a, 0x255d, 0x2560, 0x2563, - 0x2566, 0x2569, 0x256c, 0xe019, 0x2584, 0x2588, 0x25aa, -1, - 0x2502, 0x2500, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2591, 0x2592, 0x2593 -}; - -#define cet_ucs4_to_iso_10367_box_ct 29 - -const cet_ucs4_link_t cet_ucs4_to_iso_10367_box_links[cet_ucs4_to_iso_10367_box_ct] = -{ - {0x2500, 0xd1} /* drawings light horizontal */, - {0x2502, 0xd0} /* drawings light vertical */, - {0x250c, 0xd2} /* drawings light down and right */, - {0x2510, 0xd3} /* drawings light down and left */, - {0x2514, 0xd4} /* drawings light up and right */, - {0x2518, 0xd5} /* drawings light up and left */, - {0x251c, 0xd6} /* drawings light vertical and right */, - {0x2524, 0xd7} /* drawings light vertical and left */, - {0x252c, 0xd8} /* drawings light down and horizontal */, - {0x2534, 0xd9} /* drawings light up and horizontal */, - {0x253c, 0xda} /* drawings light vertical and horizontal */, - {0x2550, 0xc1} /* drawings heavy horizontal */, - {0x2551, 0xc0} /* drawings heavy vertical */, - {0x2554, 0xc2} /* drawings heavy down and right */, - {0x2557, 0xc3} /* drawings heavy down and left */, - {0x255a, 0xc4} /* drawings heavy up and right */, - {0x255d, 0xc5} /* drawings heavy up and left */, - {0x2560, 0xc6} /* drawings heavy vertical and right */, - {0x2563, 0xc7} /* drawings heavy vertical and left */, - {0x2566, 0xc8} /* drawings heavy down and horizontal */, - {0x2569, 0xc9} /* drawings heavy up and horizontal */, - {0x256c, 0xca} /* drawings heavy vertical and horizontal */, - {0x2584, 0xcc} /* half block */, - {0x2588, 0xcd} /* block */, - {0x2591, 0xdb} /* shade */, - {0x2592, 0xdc} /* shade */, - {0x2593, 0xdd} /* shade */, - {0x25aa, 0xce} /* small square */, - {0xe019, 0xcb} /* space b (iso-ir-8-1 096) */ -}; - -/* -#define cet_ucs4_to_iso_10367_box_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_10367_box_extra[cet_ucs4_to_iso_10367_box_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_10367_box = /* defined in cet.h */ -{ - cet_cs_name_iso_10367_box, /* name of character set */ - cet_cs_alias_iso_10367_box, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_10367_box, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_10367_box, /* first non standard character */ - cet_ucs4_cnt_iso_10367_box, /* number of values in table */ - - cet_ucs4_to_iso_10367_box_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_10367_box_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_10367_box_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x2551, 0x2550, 0x2554, 0x2557, 0x255a, 0x255d, 0x2560, 0x2563, - 0x2566, 0x2569, 0x256c, 0xe019, 0x2584, 0x2588, 0x25aa, -1, - 0x2502, 0x2500, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2591, 0x2592, 0x2593, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_5427.h b/gpsbabel/cet/iso_5427.h deleted file mode 100644 index 7876a4336..000000000 --- a/gpsbabel/cet/iso_5427.h +++ /dev/null @@ -1,188 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO_5427" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_5427_h -#define iso_5427_h - -#define cet_cs_name_iso_5427 "ISO_5427" - -const char *cet_cs_alias_iso_5427[] = -{ - "ISO_5427", "iso-ir-37", NULL -}; - -#define cet_ucs4_ofs_iso_5427 36 -#define cet_ucs4_cnt_iso_5427 92 - -const int cet_ucs4_map_iso_5427[cet_ucs4_cnt_iso_5427] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x044e, 0x0430, 0x0431, 0x0446, - 0x0434, 0x0435, 0x0444, 0x0433, 0x0445, 0x0438, 0x0439, 0x043a, - 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, 0x044f, 0x0440, 0x0441, - 0x0442, 0x0443, 0x0436, 0x0432, 0x044c, 0x044b, 0x0437, 0x0448, - 0x044d, 0x0449, 0x0447, 0x044a, 0x042e, 0x0410, 0x0411, 0x0426, - 0x0414, 0x0415, 0x0424, 0x0413, 0x0425, 0x0418, 0x0419, 0x041a, - 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, 0x042f, 0x0420, 0x0421, - 0x0422, 0x0423, 0x0416, 0x0412, 0x042c, 0x042b, 0x0417, 0x0428, - 0x042d, 0x0429, 0x0427, 0x007f -}; - -#define cet_ucs4_to_iso_5427_ct 64 - -const cet_ucs4_link_t cet_ucs4_to_iso_5427_links[cet_ucs4_to_iso_5427_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x0410, 0x61} /* capital letter a */, - {0x0411, 0x62} /* capital letter be */, - {0x0412, 0x77} /* capital letter ve */, - {0x0413, 0x67} /* capital letter ghe */, - {0x0414, 0x64} /* capital letter de */, - {0x0415, 0x65} /* capital letter ie */, - {0x0416, 0x76} /* capital letter zhe */, - {0x0417, 0x7a} /* capital letter ze */, - {0x0418, 0x69} /* capital letter i */, - {0x0419, 0x6a} /* capital letter short i */, - {0x041a, 0x6b} /* capital letter ka */, - {0x041b, 0x6c} /* capital letter el */, - {0x041c, 0x6d} /* capital letter em */, - {0x041d, 0x6e} /* capital letter en */, - {0x041e, 0x6f} /* capital letter o */, - {0x041f, 0x70} /* capital letter pe */, - {0x0420, 0x72} /* capital letter er */, - {0x0421, 0x73} /* capital letter es */, - {0x0422, 0x74} /* capital letter te */, - {0x0423, 0x75} /* capital letter u */, - {0x0424, 0x66} /* capital letter ef */, - {0x0425, 0x68} /* capital letter ha */, - {0x0426, 0x63} /* capital letter tse */, - {0x0427, 0x7e} /* capital letter che */, - {0x0428, 0x7b} /* capital letter sha */, - {0x0429, 0x7d} /* capital letter shcha */, - {0x042b, 0x79} /* capital letter yeru */, - {0x042c, 0x78} /* capital letter soft sign */, - {0x042d, 0x7c} /* capital letter e */, - {0x042e, 0x60} /* capital letter yu */, - {0x042f, 0x71} /* capital letter ya */, - {0x0430, 0x41} /* small letter a */, - {0x0431, 0x42} /* small letter be */, - {0x0432, 0x57} /* small letter ve */, - {0x0433, 0x47} /* small letter ghe */, - {0x0434, 0x44} /* small letter de */, - {0x0435, 0x45} /* small letter ie */, - {0x0436, 0x56} /* small letter zhe */, - {0x0437, 0x5a} /* small letter ze */, - {0x0438, 0x49} /* small letter i */, - {0x0439, 0x4a} /* small letter short i */, - {0x043a, 0x4b} /* small letter ka */, - {0x043b, 0x4c} /* small letter el */, - {0x043c, 0x4d} /* small letter em */, - {0x043d, 0x4e} /* small letter en */, - {0x043e, 0x4f} /* small letter o */, - {0x043f, 0x50} /* small letter pe */, - {0x0440, 0x52} /* small letter er */, - {0x0441, 0x53} /* small letter es */, - {0x0442, 0x54} /* small letter te */, - {0x0443, 0x55} /* small letter u */, - {0x0444, 0x46} /* small letter ef */, - {0x0445, 0x48} /* small letter ha */, - {0x0446, 0x43} /* small letter tse */, - {0x0447, 0x5e} /* small letter che */, - {0x0448, 0x5b} /* small letter sha */, - {0x0449, 0x5d} /* small letter shcha */, - {0x044a, 0x5f} /* small letter hard sign */, - {0x044b, 0x59} /* small letter yeru */, - {0x044c, 0x58} /* small letter soft sign */, - {0x044d, 0x5c} /* small letter e */, - {0x044e, 0x40} /* small letter yu */, - {0x044f, 0x51} /* small letter ya */ -}; - -/* -#define cet_ucs4_to_iso_5427_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_5427_extra[cet_ucs4_to_iso_5427_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_5427 = /* defined in cet.h */ -{ - cet_cs_name_iso_5427, /* name of character set */ - cet_cs_alias_iso_5427, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_5427, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_5427, /* first non standard character */ - cet_ucs4_cnt_iso_5427, /* number of values in table */ - - cet_ucs4_to_iso_5427_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_5427_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_5427_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_646_irv.h b/gpsbabel/cet/iso_646_irv.h deleted file mode 100644 index 26be677db..000000000 --- a/gpsbabel/cet/iso_646_irv.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO_646.irv" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_646_irv_h -#define iso_646_irv_h - -#define cet_cs_name_iso_646_irv "ISO_646.irv" - -const char *cet_cs_alias_iso_646_irv[] = -{ - "ISO_646.irv", "irv", "iso-ir-2", "ISO_646.irv:1983", - NULL -}; - -#define cet_ucs4_ofs_iso_646_irv 36 -#define cet_ucs4_cnt_iso_646_irv 92 - -const int cet_ucs4_map_iso_646_irv[cet_ucs4_cnt_iso_646_irv] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x203e, 0x007f -}; - -#define cet_ucs4_to_iso_646_irv_ct 2 - -const cet_ucs4_link_t cet_ucs4_to_iso_646_irv_links[cet_ucs4_to_iso_646_irv_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_iso_646_irv_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_646_irv_extra[cet_ucs4_to_iso_646_irv_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_646_irv = /* defined in cet.h */ -{ - cet_cs_name_iso_646_irv, /* name of character set */ - cet_cs_alias_iso_646_irv, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_646_irv, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_646_irv, /* first non standard character */ - cet_ucs4_cnt_iso_646_irv, /* number of values in table */ - - cet_ucs4_to_iso_646_irv_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_646_irv_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_646_irv_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_6937_2_25.h b/gpsbabel/cet/iso_6937_2_25.h deleted file mode 100644 index fbc7a8e4d..000000000 --- a/gpsbabel/cet/iso_6937_2_25.h +++ /dev/null @@ -1,166 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO_6937-2-25" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_6937_2_25_h -#define iso_6937_2_25_h - -#define cet_cs_name_iso_6937_2_25 "ISO_6937-2-25" - -const char *cet_cs_alias_iso_6937_2_25[] = -{ - "ISO_6937-2-25", "iso-ir-152", NULL -}; - -#define cet_ucs4_ofs_iso_6937_2_25 36 -#define cet_ucs4_cnt_iso_6937_2_25 218 - -const int cet_ucs4_map_iso_6937_2_25[cet_ucs4_cnt_iso_6937_2_25] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, 0x009a, 0x009b, - 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 0x201c, -1, - 0x2190, 0x2191, 0x2192, 0x2193, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 0x201d, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x2122, 0x266a, -1, -1, -1, -1, -1, -1, - 0x215b, 0x215c, 0x215d, 0x215e, 0x2126, -1, -1, -1, - -1, -1, 0x0132, 0x013f, -1, -1, 0x0152, -1, - 0x0174, 0x0176, 0x0178, 0x0149, -1, -1, -1, -1, - -1, -1, 0x0133, 0x0140, -1, -1, 0x0153, -1, - 0x0175, 0x0177 -}; - -#define cet_ucs4_to_iso_6937_2_25_ct 26 - -const cet_ucs4_link_t cet_ucs4_to_iso_6937_2_25_links[cet_ucs4_to_iso_6937_2_25_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x0132, 0xe6} /* capital ligature ij */, - {0x0133, 0xf6} /* small ligature ij */, - {0x013f, 0xe7} /* capital letter l with middle dot */, - {0x0140, 0xf7} /* small letter l with middle dot */, - {0x0149, 0xef} /* small letter n preceded by apostrophe */, - {0x0152, 0xea} /* capital ligature oe */, - {0x0153, 0xfa} /* small ligature oe */, - {0x0174, 0xec} /* capital letter w with circumflex */, - {0x0175, 0xfc} /* small letter w with circumflex */, - {0x0176, 0xed} /* capital letter y with circumflex */, - {0x0177, 0xfd} /* small letter y with circumflex */, - {0x0178, 0xee} /* capital letter y with diaeresis */, - {0x201c, 0xaa} /* double quotation mark */, - {0x201d, 0xba} /* double quotation mark */, - {0x2122, 0xd4} /* mark sign */, - {0x2126, 0xe0} /* sign */, - {0x215b, 0xdc} /* fraction one eighth */, - {0x215c, 0xdd} /* fraction three eighths */, - {0x215d, 0xde} /* fraction five eighths */, - {0x215e, 0xdf} /* fraction seven eighths */, - {0x2190, 0xac} /* arrow */, - {0x2191, 0xad} /* arrow */, - {0x2192, 0xae} /* arrow */, - {0x2193, 0xaf} /* arrow */, - {0x266a, 0xd5} /* note */ -}; - -/* -#define cet_ucs4_to_iso_6937_2_25_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_6937_2_25_extra[cet_ucs4_to_iso_6937_2_25_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_6937_2_25 = /* defined in cet.h */ -{ - cet_cs_name_iso_6937_2_25, /* name of character set */ - cet_cs_alias_iso_6937_2_25, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_6937_2_25, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_6937_2_25, /* first non standard character */ - cet_ucs4_cnt_iso_6937_2_25, /* number of values in table */ - - cet_ucs4_to_iso_6937_2_25_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_6937_2_25_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_6937_2_25_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 0x201c, -1, 0x2190, 0x2191, 0x2192, 0x2193, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 0x201d, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 0x2122, 0x266a, -1, -1, - -1, -1, -1, -1, 0x215b, 0x215c, 0x215d, 0x215e, - 0x2126, -1, -1, -1, -1, -1, 0x0132, 0x013f, - -1, -1, 0x0152, -1, 0x0174, 0x0176, 0x0178, 0x0149, - -1, -1, -1, -1, -1, -1, 0x0133, 0x0140, - -1, -1, 0x0153, -1, 0x0175, 0x0177, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_1.h b/gpsbabel/cet/iso_8859_1.h deleted file mode 100644 index 82a61855d..000000000 --- a/gpsbabel/cet/iso_8859_1.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-1" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_1_h -#define iso_8859_1_h - -#define cet_cs_name_iso_8859_1 "ISO-8859-1" - -const char *cet_cs_alias_iso_8859_1[] = -{ - "ISO-8859-1", "819", "CP819", "csISOLatin1", - "IBM819", "ISO8859-1", "iso-ir-100", "ISO_8859-1", - "ISO_8859-1:1987", "l1", "lat1", "latin1", - "Latin-1", NULL -}; - -#define cet_ucs4_ofs_iso_8859_1 256 -#define cet_ucs4_cnt_iso_8859_1 1 - -const int cet_ucs4_map_iso_8859_1[cet_ucs4_cnt_iso_8859_1] = {0}; - -#define cet_ucs4_to_iso_8859_1_ct 1 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_1_links[cet_ucs4_to_iso_8859_1_ct] = {{0, 0}}; - -/* -#define cet_ucs4_to_iso_8859_1_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_1_extra[cet_ucs4_to_iso_8859_1_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_1 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_1, /* name of character set */ - cet_cs_alias_iso_8859_1, /* alias table */ - - &cet_cs_vec_ansi_x3_4_1968, /* fallback character set */ - NULL, /* unused */ - - cet_ucs4_map_iso_8859_1, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_1, /* first non standard character */ - cet_ucs4_cnt_iso_8859_1, /* number of values in table */ - - cet_ucs4_to_iso_8859_1_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_1_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_1_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_10.h b/gpsbabel/cet/iso_8859_10.h deleted file mode 100644 index 8adfc7132..000000000 --- a/gpsbabel/cet/iso_8859_10.h +++ /dev/null @@ -1,172 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-10" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_10_h -#define iso_8859_10_h - -#define cet_cs_name_iso_8859_10 "ISO-8859-10" - -const char *cet_cs_alias_iso_8859_10[] = -{ - "ISO-8859-10", "csISOLatin6", "ISO8859-10", "iso-ir-157", - "ISO_8859-10", "ISO_8859-10:1992", "ISO_8859-10:1993", - "l6", "lat6", "latin6", NULL -}; - -#define cet_ucs4_ofs_iso_8859_10 161 -#define cet_ucs4_cnt_iso_8859_10 95 - -const int cet_ucs4_map_iso_8859_10[cet_ucs4_cnt_iso_8859_10] = -{ - 0x0104, 0x0112, 0x0122, 0x012a, 0x0128, 0x0136, 0x00a7, 0x013b, - 0x0110, 0x0160, 0x0166, 0x017d, 0x00ad, 0x016a, 0x014a, 0x00b0, - 0x0105, 0x0113, 0x0123, 0x012b, 0x0129, 0x0137, 0x00b7, 0x013c, - 0x0111, 0x0161, 0x0167, 0x017e, 0x2014, 0x016b, 0x014b, 0x0100, - 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x012e, 0x010c, - 0x00c9, 0x0118, 0x00cb, 0x0116, 0x00cd, 0x00ce, 0x00cf, 0x00d0, - 0x0145, 0x014c, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x0168, 0x00d8, - 0x0172, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, 0x0101, - 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x012f, 0x010d, - 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x00ef, 0x00f0, - 0x0146, 0x014d, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x0169, 0x00f8, - 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x0138 -}; - -#define cet_ucs4_to_iso_8859_10_ct 46 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_10_links[cet_ucs4_to_iso_8859_10_ct] = -{ - {0x0100, 0xc0} /* capital letter a with macron */, - {0x0101, 0xe0} /* small letter a with macron */, - {0x0104, 0xa1} /* capital letter a with ogonek */, - {0x0105, 0xb1} /* small letter a with ogonek */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x0110, 0xa9} /* capital letter d with stroke */, - {0x0111, 0xb9} /* small letter d with stroke */, - {0x0112, 0xa2} /* capital letter e with macron */, - {0x0113, 0xb2} /* small letter e with macron */, - {0x0116, 0xcc} /* capital letter e with dot above */, - {0x0117, 0xec} /* small letter e with dot above */, - {0x0118, 0xca} /* capital letter e with ogonek */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x0122, 0xa3} /* capital letter g with cedilla */, - {0x0123, 0xb3} /* small letter g with cedilla */, - {0x0128, 0xa5} /* capital letter i with tilde */, - {0x0129, 0xb5} /* small letter i with tilde */, - {0x012a, 0xa4} /* capital letter i with macron */, - {0x012b, 0xb4} /* small letter i with macron */, - {0x012e, 0xc7} /* capital letter i with ogonek */, - {0x012f, 0xe7} /* small letter i with ogonek */, - {0x0136, 0xa6} /* capital letter k with cedilla */, - {0x0137, 0xb6} /* small letter k with cedilla */, - {0x0138, 0xff} /* small letter kra (greenlandic) */, - {0x013b, 0xa8} /* capital letter l with cedilla */, - {0x013c, 0xb8} /* small letter l with cedilla */, - {0x0145, 0xd1} /* capital letter n with cedilla */, - {0x0146, 0xf1} /* small letter n with cedilla */, - {0x014a, 0xaf} /* capital letter eng (lappish) */, - {0x014b, 0xbf} /* small letter eng (lappish) */, - {0x014c, 0xd2} /* capital letter o with macron */, - {0x014d, 0xf2} /* small letter o with macron */, - {0x0160, 0xaa} /* capital letter s with caron */, - {0x0161, 0xba} /* small letter s with caron */, - {0x0166, 0xab} /* capital letter t with stroke */, - {0x0167, 0xbb} /* small letter t with stroke */, - {0x0168, 0xd7} /* capital letter u with tilde */, - {0x0169, 0xf7} /* small letter u with tilde */, - {0x016a, 0xae} /* capital letter u with macron */, - {0x016b, 0xbe} /* small letter u with macron */, - {0x0172, 0xd9} /* capital letter u with ogonek */, - {0x0173, 0xf9} /* small letter u with ogonek */, - {0x017d, 0xac} /* capital letter z with caron */, - {0x017e, 0xbc} /* small letter z with caron */, - {0x2014, 0xbd} /* dash */ -}; - -/* -#define cet_ucs4_to_iso_8859_10_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_10_extra[cet_ucs4_to_iso_8859_10_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_10 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_10, /* name of character set */ - cet_cs_alias_iso_8859_10, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_10, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_10, /* first non standard character */ - cet_ucs4_cnt_iso_8859_10, /* number of values in table */ - - cet_ucs4_to_iso_8859_10_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_10_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_10_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0104, 0x0112, 0x0122, 0x012a, 0x0128, 0x0136, 0x00a7, - 0x013b, 0x0110, 0x0160, 0x0166, 0x017d, 0x00ad, 0x016a, 0x014a, - 0x00b0, 0x0105, 0x0113, 0x0123, 0x012b, 0x0129, 0x0137, 0x00b7, - 0x013c, 0x0111, 0x0161, 0x0167, 0x017e, 0x2014, 0x016b, 0x014b, - 0x0100, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x012e, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x0116, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x0145, 0x014c, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x0168, - 0x00d8, 0x0172, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, - 0x0101, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x012f, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x00ef, - 0x00f0, 0x0146, 0x014d, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x0169, - 0x00f8, 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x0138 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_13.h b/gpsbabel/cet/iso_8859_13.h deleted file mode 100644 index e67175e09..000000000 --- a/gpsbabel/cet/iso_8859_13.h +++ /dev/null @@ -1,175 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-13" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_13_h -#define iso_8859_13_h - -#define cet_cs_name_iso_8859_13 "ISO-8859-13" - -const char *cet_cs_alias_iso_8859_13[] = -{ - "ISO-8859-13", "ISO8859-13", "iso-baltic", "ISO-IR-179", - "iso-ir-179a", "ISO_8859-13", "ISO_8859-13:1998", - "l7", "lat7", "latin7", NULL -}; - -#define cet_ucs4_ofs_iso_8859_13 165 -#define cet_ucs4_cnt_iso_8859_13 91 - -const int cet_ucs4_map_iso_8859_13[cet_ucs4_cnt_iso_8859_13] = -{ - 0x201e, 0x00a6, 0x00a7, 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, - 0x00ad, 0x00ae, 0x00af, 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x201c, - 0x00b5, 0x00b6, 0x00b7, 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, - 0x00bd, 0x00be, 0x00bf, 0x0104, 0x012e, 0x0100, 0x0106, 0x00c4, - 0x00c5, 0x0118, 0x0112, 0x010c, 0x00c9, 0x0179, 0x0116, 0x0122, - 0x0136, 0x012a, 0x013b, 0x0160, 0x0143, 0x0145, 0x00d3, 0x014c, - 0x00d5, 0x00d6, 0x00d7, 0x0172, 0x0141, 0x015a, 0x016a, 0x00dc, - 0x017b, 0x017d, 0x00df, 0x0105, 0x012f, 0x0101, 0x0107, 0x00e4, - 0x00e5, 0x0119, 0x0113, 0x010d, 0x00e9, 0x017a, 0x0117, 0x0123, - 0x0137, 0x012b, 0x013c, 0x0161, 0x0144, 0x0146, 0x00f3, 0x014d, - 0x00f5, 0x00f6, 0x00f7, 0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, - 0x017c, 0x017e, 0x2019 -}; - -#define cet_ucs4_to_iso_8859_13_ct 49 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_13_links[cet_ucs4_to_iso_8859_13_ct] = -{ - {0x0100, 0xc2} /* capital letter a with macron */, - {0x0101, 0xe2} /* small letter a with macron */, - {0x0104, 0xc0} /* capital letter a with ogonek */, - {0x0105, 0xe0} /* small letter a with ogonek */, - {0x0106, 0xc3} /* capital letter c with acute */, - {0x0107, 0xe3} /* small letter c with acute */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x0112, 0xc7} /* capital letter e with macron */, - {0x0113, 0xe7} /* small letter e with macron */, - {0x0116, 0xcb} /* capital letter e with dot above */, - {0x0117, 0xeb} /* small letter e with dot above */, - {0x0118, 0xc6} /* capital letter e with ogonek */, - {0x0119, 0xe6} /* small letter e with ogonek */, - {0x0122, 0xcc} /* capital letter g with cedilla */, - {0x0123, 0xec} /* small letter g with cedilla */, - {0x012a, 0xce} /* capital letter i with macron */, - {0x012b, 0xee} /* small letter i with macron */, - {0x012e, 0xc1} /* capital letter i with ogonek */, - {0x012f, 0xe1} /* small letter i with ogonek */, - {0x0136, 0xcd} /* capital letter k with cedilla */, - {0x0137, 0xed} /* small letter k with cedilla */, - {0x013b, 0xcf} /* capital letter l with cedilla */, - {0x013c, 0xef} /* small letter l with cedilla */, - {0x0141, 0xd9} /* capital letter l with stroke */, - {0x0142, 0xf9} /* small letter l with stroke */, - {0x0143, 0xd1} /* capital letter n with acute */, - {0x0144, 0xf1} /* small letter n with acute */, - {0x0145, 0xd2} /* capital letter n with cedilla */, - {0x0146, 0xf2} /* small letter n with cedilla */, - {0x014c, 0xd4} /* capital letter o with macron */, - {0x014d, 0xf4} /* small letter o with macron */, - {0x015a, 0xda} /* capital letter s with acute */, - {0x015b, 0xfa} /* small letter s with acute */, - {0x0160, 0xd0} /* capital letter s with caron */, - {0x0161, 0xf0} /* small letter s with caron */, - {0x016a, 0xdb} /* capital letter u with macron */, - {0x016b, 0xfb} /* small letter u with macron */, - {0x0172, 0xd8} /* capital letter u with ogonek */, - {0x0173, 0xf8} /* small letter u with ogonek */, - {0x0179, 0xca} /* capital letter z with acute */, - {0x017a, 0xea} /* small letter z with acute */, - {0x017b, 0xdd} /* capital letter z with dot above */, - {0x017c, 0xfd} /* small letter z with dot above */, - {0x017d, 0xde} /* capital letter z with caron */, - {0x017e, 0xfe} /* small letter z with caron */, - {0x2019, 0xff} /* single quotation mark */, - {0x201c, 0xb4} /* double quotation mark */, - {0x201e, 0xa5} /* low-9 quotation mark */ -}; - -/* -#define cet_ucs4_to_iso_8859_13_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_13_extra[cet_ucs4_to_iso_8859_13_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_13 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_13, /* name of character set */ - cet_cs_alias_iso_8859_13, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_13, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_13, /* first non standard character */ - cet_ucs4_cnt_iso_8859_13, /* number of values in table */ - - cet_ucs4_to_iso_8859_13_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_13_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_13_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x201e, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x201c, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x0104, 0x012e, 0x0100, 0x0106, 0x00c4, 0x00c5, 0x0118, 0x0112, - 0x010c, 0x00c9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012a, 0x013b, - 0x0160, 0x0143, 0x0145, 0x00d3, 0x014c, 0x00d5, 0x00d6, 0x00d7, - 0x0172, 0x0141, 0x015a, 0x016a, 0x00dc, 0x017b, 0x017d, 0x00df, - 0x0105, 0x012f, 0x0101, 0x0107, 0x00e4, 0x00e5, 0x0119, 0x0113, - 0x010d, 0x00e9, 0x017a, 0x0117, 0x0123, 0x0137, 0x012b, 0x013c, - 0x0161, 0x0144, 0x0146, 0x00f3, 0x014d, 0x00f5, 0x00f6, 0x00f7, - 0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017e, 0x2019 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_14.h b/gpsbabel/cet/iso_8859_14.h deleted file mode 100644 index fb47dd817..000000000 --- a/gpsbabel/cet/iso_8859_14.h +++ /dev/null @@ -1,157 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-14" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_14_h -#define iso_8859_14_h - -#define cet_cs_name_iso_8859_14 "ISO-8859-14" - -const char *cet_cs_alias_iso_8859_14[] = -{ - "ISO-8859-14", "ISO8859-14", "iso-celtic", "iso-ir-199", - "ISO_8859-14", "ISO_8859-14:1998", "l8", "lat8", "latin8", - NULL -}; - -#define cet_ucs4_ofs_iso_8859_14 161 -#define cet_ucs4_cnt_iso_8859_14 95 - -const int cet_ucs4_map_iso_8859_14[cet_ucs4_cnt_iso_8859_14] = -{ - 0x1e02, 0x1e03, 0x00a3, 0x010a, 0x010b, 0x1e0a, 0x00a7, 0x1e80, - 0x00a9, 0x1e82, 0x1e0b, 0x1ef2, 0x00ad, 0x00ae, 0x1e61, 0x1e1e, - 0x1e1f, 0x0120, 0x0121, 0x1e40, 0x1e41, 0x00b6, 0x1e56, 0x1e81, - 0x1e57, 0x1e83, 0x1e60, 0x1ef3, 0x1e84, 0x1e85, 0x0178, 0x00c0, - 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, 0x00c8, - 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, 0x0174, - 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x1e6a, 0x00d8, - 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x0176, 0x00df, 0x00e0, - 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, 0x00e8, - 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, 0x0175, - 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x1e6b, 0x00f8, - 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x0177, 0x00ff -}; - -#define cet_ucs4_to_iso_8859_14_ct 31 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_14_links[cet_ucs4_to_iso_8859_14_ct] = -{ - {0x010a, 0xa4} /* capital letter c with dot above */, - {0x010b, 0xa5} /* small letter c with dot above */, - {0x0120, 0xb2} /* capital letter g with dot above */, - {0x0121, 0xb3} /* small letter g with dot above */, - {0x0174, 0xd0} /* capital letter w with circumflex */, - {0x0175, 0xf0} /* small letter w with circumflex */, - {0x0176, 0xde} /* capital letter y with circumflex */, - {0x0177, 0xfe} /* small letter y with circumflex */, - {0x0178, 0xbf} /* capital letter y with diaeresis */, - {0x1e02, 0xa1} /* capital letter b with dot above */, - {0x1e03, 0xa2} /* small letter b with dot above */, - {0x1e0a, 0xa6} /* capital letter d with dot above */, - {0x1e0b, 0xab} /* small letter d with dot above */, - {0x1e1e, 0xb0} /* capital letter f with dot above */, - {0x1e1f, 0xb1} /* small letter f with dot above */, - {0x1e40, 0xb4} /* capital letter m with dot above */, - {0x1e41, 0xb5} /* small letter m with dot above */, - {0x1e56, 0xb7} /* capital letter p with dot above */, - {0x1e57, 0xb9} /* small letter p with dot above */, - {0x1e60, 0xbb} /* capital letter s with dot above */, - {0x1e61, 0xaf} /* small letter s with dot above */, - {0x1e6a, 0xd7} /* capital letter t with dot above */, - {0x1e6b, 0xf7} /* small letter t with dot above */, - {0x1e80, 0xa8} /* capital letter w with grave */, - {0x1e81, 0xb8} /* small letter w with grave */, - {0x1e82, 0xaa} /* capital letter w with acute */, - {0x1e83, 0xba} /* small letter w with acute */, - {0x1e84, 0xbd} /* capital letter w with diaeresis */, - {0x1e85, 0xbe} /* small letter w with diaeresis */, - {0x1ef2, 0xac} /* capital letter y with grave */, - {0x1ef3, 0xbc} /* small letter y with grave */ -}; - -/* -#define cet_ucs4_to_iso_8859_14_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_14_extra[cet_ucs4_to_iso_8859_14_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_14 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_14, /* name of character set */ - cet_cs_alias_iso_8859_14, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_14, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_14, /* first non standard character */ - cet_ucs4_cnt_iso_8859_14, /* number of values in table */ - - cet_ucs4_to_iso_8859_14_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_14_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_14_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x1e02, 0x1e03, 0x00a3, 0x010a, 0x010b, 0x1e0a, 0x00a7, - 0x1e80, 0x00a9, 0x1e82, 0x1e0b, 0x1ef2, 0x00ad, 0x00ae, 0x1e61, - 0x1e1e, 0x1e1f, 0x0120, 0x0121, 0x1e40, 0x1e41, 0x00b6, 0x1e56, - 0x1e81, 0x1e57, 0x1e83, 0x1e60, 0x1ef3, 0x1e84, 0x1e85, 0x0178, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x0174, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x1e6a, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x0176, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - 0x0175, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x1e6b, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x0177, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_15.h b/gpsbabel/cet/iso_8859_15.h deleted file mode 100644 index 88750962b..000000000 --- a/gpsbabel/cet/iso_8859_15.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-15" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_15_h -#define iso_8859_15_h - -#define cet_cs_name_iso_8859_15 "ISO-8859-15" - -const char *cet_cs_alias_iso_8859_15[] = -{ - "ISO-8859-15", "ISO8859-15", "iso-ir-203", "ISO_8859-15", - "ISO_8859-15:1998", "l9", "lat9", "latin9", NULL -}; - -#define cet_ucs4_ofs_iso_8859_15 164 -#define cet_ucs4_cnt_iso_8859_15 92 - -const int cet_ucs4_map_iso_8859_15[cet_ucs4_cnt_iso_8859_15] = -{ - 0x20ac, 0x00a5, 0x0160, 0x00a7, 0x0161, 0x00a9, 0x00aa, 0x00ab, - 0x00ac, 0x00ad, 0x00ae, 0x00af, 0x00b0, 0x00b1, 0x00b2, 0x00b3, - 0x017d, 0x00b5, 0x00b6, 0x00b7, 0x017e, 0x00b9, 0x00ba, 0x00bb, - 0x0152, 0x0153, 0x0178, 0x00bf, 0x00c0, 0x00c1, 0x00c2, 0x00c3, - 0x00c4, 0x00c5, 0x00c6, 0x00c7, 0x00c8, 0x00c9, 0x00ca, 0x00cb, - 0x00cc, 0x00cd, 0x00ce, 0x00cf, 0x00d0, 0x00d1, 0x00d2, 0x00d3, - 0x00d4, 0x00d5, 0x00d6, 0x00d7, 0x00d8, 0x00d9, 0x00da, 0x00db, - 0x00dc, 0x00dd, 0x00de, 0x00df, 0x00e0, 0x00e1, 0x00e2, 0x00e3, - 0x00e4, 0x00e5, 0x00e6, 0x00e7, 0x00e8, 0x00e9, 0x00ea, 0x00eb, - 0x00ec, 0x00ed, 0x00ee, 0x00ef, 0x00f0, 0x00f1, 0x00f2, 0x00f3, - 0x00f4, 0x00f5, 0x00f6, 0x00f7, 0x00f8, 0x00f9, 0x00fa, 0x00fb, - 0x00fc, 0x00fd, 0x00fe, 0x00ff -}; - -#define cet_ucs4_to_iso_8859_15_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_15_links[cet_ucs4_to_iso_8859_15_ct] = -{ - {0x0152, 0xbc} /* capital ligature oe */, - {0x0153, 0xbd} /* small ligature oe */, - {0x0160, 0xa6} /* capital letter s with caron */, - {0x0161, 0xa8} /* small letter s with caron */, - {0x0178, 0xbe} /* capital letter y with diaeresis */, - {0x017d, 0xb4} /* capital letter z with caron */, - {0x017e, 0xb8} /* small letter z with caron */, - {0x20ac, 0xa4} /* euro */ -}; - -/* -#define cet_ucs4_to_iso_8859_15_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_15_extra[cet_ucs4_to_iso_8859_15_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_15 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_15, /* name of character set */ - cet_cs_alias_iso_8859_15, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_15, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_15, /* first non standard character */ - cet_ucs4_cnt_iso_8859_15, /* number of values in table */ - - cet_ucs4_to_iso_8859_15_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_15_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_15_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x20ac, 0x00a5, 0x0160, 0x00a7, - 0x0161, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x017d, 0x00b5, 0x00b6, 0x00b7, - 0x017e, 0x00b9, 0x00ba, 0x00bb, 0x0152, 0x0153, 0x0178, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_2.h b/gpsbabel/cet/iso_8859_2.h deleted file mode 100644 index 6e348cc06..000000000 --- a/gpsbabel/cet/iso_8859_2.h +++ /dev/null @@ -1,183 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_2_h -#define iso_8859_2_h - -#define cet_cs_name_iso_8859_2 "ISO-8859-2" - -const char *cet_cs_alias_iso_8859_2[] = -{ - "ISO-8859-2", "912", "CP912", "csISOLatin2", - "IBM912", "ISO8859-2", "iso-ir-101", "ISO_8859-2", - "ISO_8859-2:1987", "l2", "lat2", "latin2", NULL -}; - -#define cet_ucs4_ofs_iso_8859_2 161 -#define cet_ucs4_cnt_iso_8859_2 95 - -const int cet_ucs4_map_iso_8859_2[cet_ucs4_cnt_iso_8859_2] = -{ - 0x0104, 0x02d8, 0x0141, 0x00a4, 0x013d, 0x015a, 0x00a7, 0x00a8, - 0x0160, 0x015e, 0x0164, 0x0179, 0x00ad, 0x017d, 0x017b, 0x00b0, - 0x0105, 0x02db, 0x0142, 0x00b4, 0x013e, 0x015b, 0x02c7, 0x00b8, - 0x0161, 0x015f, 0x0165, 0x017a, 0x02dd, 0x017e, 0x017c, 0x0154, - 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, 0x010c, - 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, 0x0110, - 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, 0x0158, - 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, 0x0155, - 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, 0x010d, - 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, 0x0111, - 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, 0x0159, - 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; - -#define cet_ucs4_to_iso_8859_2_ct 57 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_2_links[cet_ucs4_to_iso_8859_2_ct] = -{ - {0x0102, 0xc3} /* capital letter a with breve */, - {0x0103, 0xe3} /* small letter a with breve */, - {0x0104, 0xa1} /* capital letter a with ogonek */, - {0x0105, 0xb1} /* small letter a with ogonek */, - {0x0106, 0xc6} /* capital letter c with acute */, - {0x0107, 0xe6} /* small letter c with acute */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x010e, 0xcf} /* capital letter d with caron */, - {0x010f, 0xef} /* small letter d with caron */, - {0x0110, 0xd0} /* capital letter d with stroke */, - {0x0111, 0xf0} /* small letter d with stroke */, - {0x0118, 0xca} /* capital letter e with ogonek */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x011a, 0xcc} /* capital letter e with caron */, - {0x011b, 0xec} /* small letter e with caron */, - {0x0139, 0xc5} /* capital letter l with acute */, - {0x013a, 0xe5} /* small letter l with acute */, - {0x013d, 0xa5} /* capital letter l with caron */, - {0x013e, 0xb5} /* small letter l with caron */, - {0x0141, 0xa3} /* capital letter l with stroke */, - {0x0142, 0xb3} /* small letter l with stroke */, - {0x0143, 0xd1} /* capital letter n with acute */, - {0x0144, 0xf1} /* small letter n with acute */, - {0x0147, 0xd2} /* capital letter n with caron */, - {0x0148, 0xf2} /* small letter n with caron */, - {0x0150, 0xd5} /* capital letter o with double acute */, - {0x0151, 0xf5} /* small letter o with double acute */, - {0x0154, 0xc0} /* capital letter r with acute */, - {0x0155, 0xe0} /* small letter r with acute */, - {0x0158, 0xd8} /* capital letter r with caron */, - {0x0159, 0xf8} /* small letter r with caron */, - {0x015a, 0xa6} /* capital letter s with acute */, - {0x015b, 0xb6} /* small letter s with acute */, - {0x015e, 0xaa} /* capital letter s with cedilla */, - {0x015f, 0xba} /* small letter s with cedilla */, - {0x0160, 0xa9} /* capital letter s with caron */, - {0x0161, 0xb9} /* small letter s with caron */, - {0x0162, 0xde} /* capital letter t with cedilla */, - {0x0163, 0xfe} /* small letter t with cedilla */, - {0x0164, 0xab} /* capital letter t with caron */, - {0x0165, 0xbb} /* small letter t with caron */, - {0x016e, 0xd9} /* capital letter u with ring above */, - {0x016f, 0xf9} /* small letter u with ring above */, - {0x0170, 0xdb} /* capital letter u with double acute */, - {0x0171, 0xfb} /* small letter u with double acute */, - {0x0179, 0xac} /* capital letter z with acute */, - {0x017a, 0xbc} /* small letter z with acute */, - {0x017b, 0xaf} /* capital letter z with dot above */, - {0x017c, 0xbf} /* small letter z with dot above */, - {0x017d, 0xae} /* capital letter z with caron */, - {0x017e, 0xbe} /* small letter z with caron */, - {0x02c7, 0xb7} /* caron */, - {0x02d8, 0xa2} /* breve */, - {0x02d9, 0xff} /* above */, - {0x02db, 0xb2} /* ogonek */, - {0x02dd, 0xbd} /* acute accent */ -}; - -/* -#define cet_ucs4_to_iso_8859_2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_2_extra[cet_ucs4_to_iso_8859_2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_2 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_2, /* name of character set */ - cet_cs_alias_iso_8859_2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_2, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_2, /* first non standard character */ - cet_ucs4_cnt_iso_8859_2, /* number of values in table */ - - cet_ucs4_to_iso_8859_2_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0104, 0x02d8, 0x0141, 0x00a4, 0x013d, 0x015a, 0x00a7, - 0x00a8, 0x0160, 0x015e, 0x0164, 0x0179, 0x00ad, 0x017d, 0x017b, - 0x00b0, 0x0105, 0x02db, 0x0142, 0x00b4, 0x013e, 0x015b, 0x02c7, - 0x00b8, 0x0161, 0x015f, 0x0165, 0x017a, 0x02dd, 0x017e, 0x017c, - 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, - 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, - 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, - 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, - 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, - 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_3.h b/gpsbabel/cet/iso_8859_3.h deleted file mode 100644 index 1a264d196..000000000 --- a/gpsbabel/cet/iso_8859_3.h +++ /dev/null @@ -1,154 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-3" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_3_h -#define iso_8859_3_h - -#define cet_cs_name_iso_8859_3 "ISO-8859-3" - -const char *cet_cs_alias_iso_8859_3[] = -{ - "ISO-8859-3", "csISOLatin3", "ISO8859-3", "iso-ir-109", - "ISO_8859-3", "ISO_8859-3:1988", "l3", "lat3", "latin3", - NULL -}; - -#define cet_ucs4_ofs_iso_8859_3 161 -#define cet_ucs4_cnt_iso_8859_3 95 - -const int cet_ucs4_map_iso_8859_3[cet_ucs4_cnt_iso_8859_3] = -{ - 0x0126, 0x02d8, 0x00a3, 0x00a4, -1, 0x0124, 0x00a7, 0x00a8, - 0x0130, 0x015e, 0x011e, 0x0134, 0x00ad, -1, 0x017b, 0x00b0, - 0x0127, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x0125, 0x00b7, 0x00b8, - 0x0131, 0x015f, 0x011f, 0x0135, 0x00bd, -1, 0x017c, 0x00c0, - 0x00c1, 0x00c2, -1, 0x00c4, 0x010a, 0x0108, 0x00c7, 0x00c8, - 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, -1, - 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x0120, 0x00d6, 0x00d7, 0x011c, - 0x00d9, 0x00da, 0x00db, 0x00dc, 0x016c, 0x015c, 0x00df, 0x00e0, - 0x00e1, 0x00e2, -1, 0x00e4, 0x010b, 0x0109, 0x00e7, 0x00e8, - 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, -1, - 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x0121, 0x00f6, 0x00f7, 0x011d, - 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x016d, 0x015d, 0x02d9 -}; - -#define cet_ucs4_to_iso_8859_3_ct 28 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_3_links[cet_ucs4_to_iso_8859_3_ct] = -{ - {0x0108, 0xc6} /* capital letter c with circumflex */, - {0x0109, 0xe6} /* small letter c with circumflex */, - {0x010a, 0xc5} /* capital letter c with dot above */, - {0x010b, 0xe5} /* small letter c with dot above */, - {0x011c, 0xd8} /* capital letter g with circumflex */, - {0x011d, 0xf8} /* small letter g with circumflex */, - {0x011e, 0xab} /* capital letter g with breve */, - {0x011f, 0xbb} /* small letter g with breve */, - {0x0120, 0xd5} /* capital letter g with dot above */, - {0x0121, 0xf5} /* small letter g with dot above */, - {0x0124, 0xa6} /* capital letter h with circumflex */, - {0x0125, 0xb6} /* small letter h with circumflex */, - {0x0126, 0xa1} /* capital letter h with stroke */, - {0x0127, 0xb1} /* small letter h with stroke */, - {0x0130, 0xa9} /* capital letter i with dot above */, - {0x0131, 0xb9} /* small letter i dotless */, - {0x0134, 0xac} /* capital letter j with circumflex */, - {0x0135, 0xbc} /* small letter j with circumflex */, - {0x015c, 0xde} /* capital letter s with circumflex */, - {0x015d, 0xfe} /* small letter s with circumflex */, - {0x015e, 0xaa} /* capital letter s with cedilla */, - {0x015f, 0xba} /* small letter s with cedilla */, - {0x016c, 0xdd} /* capital letter u with breve */, - {0x016d, 0xfd} /* small letter u with breve */, - {0x017b, 0xaf} /* capital letter z with dot above */, - {0x017c, 0xbf} /* small letter z with dot above */, - {0x02d8, 0xa2} /* breve */, - {0x02d9, 0xff} /* above */ -}; - -/* -#define cet_ucs4_to_iso_8859_3_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_3_extra[cet_ucs4_to_iso_8859_3_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_3 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_3, /* name of character set */ - cet_cs_alias_iso_8859_3, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_3, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_3, /* first non standard character */ - cet_ucs4_cnt_iso_8859_3, /* number of values in table */ - - cet_ucs4_to_iso_8859_3_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_3_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_3_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0126, 0x02d8, 0x00a3, 0x00a4, -1, 0x0124, 0x00a7, - 0x00a8, 0x0130, 0x015e, 0x011e, 0x0134, 0x00ad, -1, 0x017b, - 0x00b0, 0x0127, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x0125, 0x00b7, - 0x00b8, 0x0131, 0x015f, 0x011f, 0x0135, 0x00bd, -1, 0x017c, - 0x00c0, 0x00c1, 0x00c2, -1, 0x00c4, 0x010a, 0x0108, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - -1, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x0120, 0x00d6, 0x00d7, - 0x011c, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x016c, 0x015c, 0x00df, - 0x00e0, 0x00e1, 0x00e2, -1, 0x00e4, 0x010b, 0x0109, 0x00e7, - 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, - -1, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x0121, 0x00f6, 0x00f7, - 0x011d, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x016d, 0x015d, 0x02d9 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_4.h b/gpsbabel/cet/iso_8859_4.h deleted file mode 100644 index e9d8a6e04..000000000 --- a/gpsbabel/cet/iso_8859_4.h +++ /dev/null @@ -1,176 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-4" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_4_h -#define iso_8859_4_h - -#define cet_cs_name_iso_8859_4 "ISO-8859-4" - -const char *cet_cs_alias_iso_8859_4[] = -{ - "ISO-8859-4", "csISOLatin4", "ISO8859-4", "iso-ir-110", - "ISO_8859-4", "ISO_8859-4:1988", "l4", "lat4", "latin4", - NULL -}; - -#define cet_ucs4_ofs_iso_8859_4 161 -#define cet_ucs4_cnt_iso_8859_4 95 - -const int cet_ucs4_map_iso_8859_4[cet_ucs4_cnt_iso_8859_4] = -{ - 0x0104, 0x0138, 0x0156, 0x00a4, 0x0128, 0x013b, 0x00a7, 0x00a8, - 0x0160, 0x0112, 0x0122, 0x0166, 0x00ad, 0x017d, 0x00af, 0x00b0, - 0x0105, 0x02db, 0x0157, 0x00b4, 0x0129, 0x013c, 0x02c7, 0x00b8, - 0x0161, 0x0113, 0x0123, 0x0167, 0x014a, 0x017e, 0x014b, 0x0100, - 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x012e, 0x010c, - 0x00c9, 0x0118, 0x00cb, 0x0116, 0x00cd, 0x00ce, 0x012a, 0x0110, - 0x0145, 0x014c, 0x0136, 0x00d4, 0x00d5, 0x00d6, 0x00d7, 0x00d8, - 0x0172, 0x00da, 0x00db, 0x00dc, 0x0168, 0x016a, 0x00df, 0x0101, - 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x012f, 0x010d, - 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, 0x0111, - 0x0146, 0x014d, 0x0137, 0x00f4, 0x00f5, 0x00f6, 0x00f7, 0x00f8, - 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x0169, 0x016b, 0x02d9 -}; - -#define cet_ucs4_to_iso_8859_4_ct 50 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_4_links[cet_ucs4_to_iso_8859_4_ct] = -{ - {0x0100, 0xc0} /* capital letter a with macron */, - {0x0101, 0xe0} /* small letter a with macron */, - {0x0104, 0xa1} /* capital letter a with ogonek */, - {0x0105, 0xb1} /* small letter a with ogonek */, - {0x010c, 0xc8} /* capital letter c with caron */, - {0x010d, 0xe8} /* small letter c with caron */, - {0x0110, 0xd0} /* capital letter d with stroke */, - {0x0111, 0xf0} /* small letter d with stroke */, - {0x0112, 0xaa} /* capital letter e with macron */, - {0x0113, 0xba} /* small letter e with macron */, - {0x0116, 0xcc} /* capital letter e with dot above */, - {0x0117, 0xec} /* small letter e with dot above */, - {0x0118, 0xca} /* capital letter e with ogonek */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x0122, 0xab} /* capital letter g with cedilla */, - {0x0123, 0xbb} /* small letter g with cedilla */, - {0x0128, 0xa5} /* capital letter i with tilde */, - {0x0129, 0xb5} /* small letter i with tilde */, - {0x012a, 0xcf} /* capital letter i with macron */, - {0x012b, 0xef} /* small letter i with macron */, - {0x012e, 0xc7} /* capital letter i with ogonek */, - {0x012f, 0xe7} /* small letter i with ogonek */, - {0x0136, 0xd3} /* capital letter k with cedilla */, - {0x0137, 0xf3} /* small letter k with cedilla */, - {0x0138, 0xa2} /* small letter kra (greenlandic) */, - {0x013b, 0xa6} /* capital letter l with cedilla */, - {0x013c, 0xb6} /* small letter l with cedilla */, - {0x0145, 0xd1} /* capital letter n with cedilla */, - {0x0146, 0xf1} /* small letter n with cedilla */, - {0x014a, 0xbd} /* capital letter eng (lappish) */, - {0x014b, 0xbf} /* small letter eng (lappish) */, - {0x014c, 0xd2} /* capital letter o with macron */, - {0x014d, 0xf2} /* small letter o with macron */, - {0x0156, 0xa3} /* capital letter r with cedilla */, - {0x0157, 0xb3} /* small letter r with cedilla */, - {0x0160, 0xa9} /* capital letter s with caron */, - {0x0161, 0xb9} /* small letter s with caron */, - {0x0166, 0xac} /* capital letter t with stroke */, - {0x0167, 0xbc} /* small letter t with stroke */, - {0x0168, 0xdd} /* capital letter u with tilde */, - {0x0169, 0xfd} /* small letter u with tilde */, - {0x016a, 0xde} /* capital letter u with macron */, - {0x016b, 0xfe} /* small letter u with macron */, - {0x0172, 0xd9} /* capital letter u with ogonek */, - {0x0173, 0xf9} /* small letter u with ogonek */, - {0x017d, 0xae} /* capital letter z with caron */, - {0x017e, 0xbe} /* small letter z with caron */, - {0x02c7, 0xb7} /* caron */, - {0x02d9, 0xff} /* above */, - {0x02db, 0xb2} /* ogonek */ -}; - -/* -#define cet_ucs4_to_iso_8859_4_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_4_extra[cet_ucs4_to_iso_8859_4_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_4 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_4, /* name of character set */ - cet_cs_alias_iso_8859_4, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_4, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_4, /* first non standard character */ - cet_ucs4_cnt_iso_8859_4, /* number of values in table */ - - cet_ucs4_to_iso_8859_4_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_4_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_4_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0104, 0x0138, 0x0156, 0x00a4, 0x0128, 0x013b, 0x00a7, - 0x00a8, 0x0160, 0x0112, 0x0122, 0x0166, 0x00ad, 0x017d, 0x00af, - 0x00b0, 0x0105, 0x02db, 0x0157, 0x00b4, 0x0129, 0x013c, 0x02c7, - 0x00b8, 0x0161, 0x0113, 0x0123, 0x0167, 0x014a, 0x017e, 0x014b, - 0x0100, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x012e, - 0x010c, 0x00c9, 0x0118, 0x00cb, 0x0116, 0x00cd, 0x00ce, 0x012a, - 0x0110, 0x0145, 0x014c, 0x0136, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x0172, 0x00da, 0x00db, 0x00dc, 0x0168, 0x016a, 0x00df, - 0x0101, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x012f, - 0x010d, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, - 0x0111, 0x0146, 0x014d, 0x0137, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x0169, 0x016b, 0x02d9 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_5.h b/gpsbabel/cet/iso_8859_5.h deleted file mode 100644 index c70e4919a..000000000 --- a/gpsbabel/cet/iso_8859_5.h +++ /dev/null @@ -1,219 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-5" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_5_h -#define iso_8859_5_h - -#define cet_cs_name_iso_8859_5 "ISO-8859-5" - -const char *cet_cs_alias_iso_8859_5[] = -{ - "ISO-8859-5", "csISOLatinCyrillic", "cyrillic", "ISO8859-5", - "iso-ir-144", "ISO_8859-5", "ISO_8859-5:1988", NULL -}; - -#define cet_ucs4_ofs_iso_8859_5 161 -#define cet_ucs4_cnt_iso_8859_5 95 - -const int cet_ucs4_map_iso_8859_5[cet_ucs4_cnt_iso_8859_5] = -{ - 0x0401, 0x0402, 0x0403, 0x0404, 0x0405, 0x0406, 0x0407, 0x0408, - 0x0409, 0x040a, 0x040b, 0x040c, 0x00ad, 0x040e, 0x040f, 0x0410, - 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, 0x0418, - 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, 0x0420, - 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, - 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, 0x0430, - 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, 0x0438, - 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, 0x0440, - 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, - 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f, 0x2116, - 0x0451, 0x0452, 0x0453, 0x0454, 0x0455, 0x0456, 0x0457, 0x0458, - 0x0459, 0x045a, 0x045b, 0x045c, 0x00a7, 0x045e, 0x045f -}; - -#define cet_ucs4_to_iso_8859_5_ct 94 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_5_links[cet_ucs4_to_iso_8859_5_ct] = -{ - {0x00a7, 0xfd} /* sign */, - {0x0401, 0xa1} /* capital letter io */, - {0x0402, 0xa2} /* capital letter dje (serbocroatian) */, - {0x0403, 0xa3} /* capital letter gje (macedonian) */, - {0x0404, 0xa4} /* capital letter ukrainian ie */, - {0x0405, 0xa5} /* capital letter dze (macedonian) */, - {0x0406, 0xa6} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0xa7} /* capital letter yi (ukrainian) */, - {0x0408, 0xa8} /* capital letter je */, - {0x0409, 0xa9} /* capital letter lje */, - {0x040a, 0xaa} /* capital letter nje */, - {0x040b, 0xab} /* capital letter tshe (serbocroatian) */, - {0x040c, 0xac} /* capital letter kje (macedonian) */, - {0x040e, 0xae} /* capital letter short u (byelorussian) */, - {0x040f, 0xaf} /* capital letter dzhe */, - {0x0410, 0xb0} /* capital letter a */, - {0x0411, 0xb1} /* capital letter be */, - {0x0412, 0xb2} /* capital letter ve */, - {0x0413, 0xb3} /* capital letter ghe */, - {0x0414, 0xb4} /* capital letter de */, - {0x0415, 0xb5} /* capital letter ie */, - {0x0416, 0xb6} /* capital letter zhe */, - {0x0417, 0xb7} /* capital letter ze */, - {0x0418, 0xb8} /* capital letter i */, - {0x0419, 0xb9} /* capital letter short i */, - {0x041a, 0xba} /* capital letter ka */, - {0x041b, 0xbb} /* capital letter el */, - {0x041c, 0xbc} /* capital letter em */, - {0x041d, 0xbd} /* capital letter en */, - {0x041e, 0xbe} /* capital letter o */, - {0x041f, 0xbf} /* capital letter pe */, - {0x0420, 0xc0} /* capital letter er */, - {0x0421, 0xc1} /* capital letter es */, - {0x0422, 0xc2} /* capital letter te */, - {0x0423, 0xc3} /* capital letter u */, - {0x0424, 0xc4} /* capital letter ef */, - {0x0425, 0xc5} /* capital letter ha */, - {0x0426, 0xc6} /* capital letter tse */, - {0x0427, 0xc7} /* capital letter che */, - {0x0428, 0xc8} /* capital letter sha */, - {0x0429, 0xc9} /* capital letter shcha */, - {0x042a, 0xca} /* capital letter hard sign */, - {0x042b, 0xcb} /* capital letter yeru */, - {0x042c, 0xcc} /* capital letter soft sign */, - {0x042d, 0xcd} /* capital letter e */, - {0x042e, 0xce} /* capital letter yu */, - {0x042f, 0xcf} /* capital letter ya */, - {0x0430, 0xd0} /* small letter a */, - {0x0431, 0xd1} /* small letter be */, - {0x0432, 0xd2} /* small letter ve */, - {0x0433, 0xd3} /* small letter ghe */, - {0x0434, 0xd4} /* small letter de */, - {0x0435, 0xd5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xd7} /* small letter ze */, - {0x0438, 0xd8} /* small letter i */, - {0x0439, 0xd9} /* small letter short i */, - {0x043a, 0xda} /* small letter ka */, - {0x043b, 0xdb} /* small letter el */, - {0x043c, 0xdc} /* small letter em */, - {0x043d, 0xdd} /* small letter en */, - {0x043e, 0xde} /* small letter o */, - {0x043f, 0xdf} /* small letter pe */, - {0x0440, 0xe0} /* small letter er */, - {0x0441, 0xe1} /* small letter es */, - {0x0442, 0xe2} /* small letter te */, - {0x0443, 0xe3} /* small letter u */, - {0x0444, 0xe4} /* small letter ef */, - {0x0445, 0xe5} /* small letter ha */, - {0x0446, 0xe6} /* small letter tse */, - {0x0447, 0xe7} /* small letter che */, - {0x0448, 0xe8} /* small letter sha */, - {0x0449, 0xe9} /* small letter shcha */, - {0x044a, 0xea} /* small letter hard sign */, - {0x044b, 0xeb} /* small letter yeru */, - {0x044c, 0xec} /* small letter soft sign */, - {0x044d, 0xed} /* small letter e */, - {0x044e, 0xee} /* small letter yu */, - {0x044f, 0xef} /* small letter ya */, - {0x0451, 0xf1} /* small letter io */, - {0x0452, 0xf2} /* small letter dje (serbocroatian) */, - {0x0453, 0xf3} /* small letter gje (macedonian) */, - {0x0454, 0xf4} /* small letter ukrainian ie */, - {0x0455, 0xf5} /* small letter dze (macedonian) */, - {0x0456, 0xf6} /* small letter byelorussian-ukrainian i */, - {0x0457, 0xf7} /* small letter yi (ukrainian) */, - {0x0458, 0xf8} /* small letter je */, - {0x0459, 0xf9} /* small letter lje */, - {0x045a, 0xfa} /* small letter nje */, - {0x045b, 0xfb} /* small letter tshe (serbocroatian) */, - {0x045c, 0xfc} /* small letter kje (macedonian) */, - {0x045e, 0xfe} /* small letter short u (byelorussian) */, - {0x045f, 0xff} /* small letter dzhe */, - {0x2116, 0xf0} /* sign */ -}; - -/* -#define cet_ucs4_to_iso_8859_5_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_5_extra[cet_ucs4_to_iso_8859_5_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_5 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_5, /* name of character set */ - cet_cs_alias_iso_8859_5, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_5, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_5, /* first non standard character */ - cet_ucs4_cnt_iso_8859_5, /* number of values in table */ - - cet_ucs4_to_iso_8859_5_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_5_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_5_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x0401, 0x0402, 0x0403, 0x0404, 0x0405, 0x0406, 0x0407, - 0x0408, 0x0409, 0x040a, 0x040b, 0x040c, 0x00ad, 0x040e, 0x040f, - 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, - 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, - 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, - 0x0428, 0x0429, 0x042a, 0x042b, 0x042c, 0x042d, 0x042e, 0x042f, - 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, - 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, 0x043f, - 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, - 0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f, - 0x2116, 0x0451, 0x0452, 0x0453, 0x0454, 0x0455, 0x0456, 0x0457, - 0x0458, 0x0459, 0x045a, 0x045b, 0x045c, 0x00a7, 0x045e, 0x045f -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_6.h b/gpsbabel/cet/iso_8859_6.h deleted file mode 100644 index dbd7730c4..000000000 --- a/gpsbabel/cet/iso_8859_6.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-6" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_6_h -#define iso_8859_6_h - -#define cet_cs_name_iso_8859_6 "ISO-8859-6" - -const char *cet_cs_alias_iso_8859_6[] = -{ - "ISO-8859-6", "arabic", "ASMO-708", "csISOLatinArabic", - "ECMA-114", "ISO8859-6", "iso-ir-127", "ISO_8859-6", - "ISO_8859-6:1987", NULL -}; - -#define cet_ucs4_ofs_iso_8859_6 161 -#define cet_ucs4_cnt_iso_8859_6 82 - -const int cet_ucs4_map_iso_8859_6[cet_ucs4_cnt_iso_8859_6] = -{ - -1, -1, -1, 0x00a4, -1, -1, -1, -1, - -1, -1, -1, 0x060c, 0x00ad, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 0x061b, -1, -1, -1, 0x061f, -1, - 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, 0x0628, - 0x0629, 0x062a, 0x062b, 0x062c, 0x062d, 0x062e, 0x062f, 0x0630, - 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637, 0x0638, - 0x0639, 0x063a, -1, -1, -1, -1, -1, 0x0640, - 0x0641, 0x0642, 0x0643, 0x0644, 0x0645, 0x0646, 0x0647, 0x0648, - 0x0649, 0x064a, 0x064b, 0x064c, 0x064d, 0x064e, 0x064f, 0x0650, - 0x0651, 0x0652 -}; - -#define cet_ucs4_to_iso_8859_6_ct 48 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_6_links[cet_ucs4_to_iso_8859_6_ct] = -{ - {0x060c, 0xac} /* comma */, - {0x061b, 0xbb} /* semicolon */, - {0x061f, 0xbf} /* question mark */, - {0x0621, 0xc1} /* letter hamza */, - {0x0622, 0xc2} /* letter alef with madda above */, - {0x0623, 0xc3} /* letter alef with hamza above */, - {0x0624, 0xc4} /* letter waw with hamza above */, - {0x0625, 0xc5} /* letter alef with hamza below */, - {0x0626, 0xc6} /* letter yeh with hamza above */, - {0x0627, 0xc7} /* letter alef */, - {0x0628, 0xc8} /* letter beh */, - {0x0629, 0xc9} /* letter teh marbuta */, - {0x062a, 0xca} /* letter teh */, - {0x062b, 0xcb} /* letter theh */, - {0x062c, 0xcc} /* letter jeem */, - {0x062d, 0xcd} /* letter hah */, - {0x062e, 0xce} /* letter khah */, - {0x062f, 0xcf} /* letter dal */, - {0x0630, 0xd0} /* letter thal */, - {0x0631, 0xd1} /* letter reh */, - {0x0632, 0xd2} /* letter zain */, - {0x0633, 0xd3} /* letter seen */, - {0x0634, 0xd4} /* letter sheen */, - {0x0635, 0xd5} /* letter sad */, - {0x0636, 0xd6} /* letter dad */, - {0x0637, 0xd7} /* letter tah */, - {0x0638, 0xd8} /* letter zah */, - {0x0639, 0xd9} /* letter ain */, - {0x063a, 0xda} /* letter ghain */, - {0x0640, 0xe0} /* tatweel */, - {0x0641, 0xe1} /* letter feh */, - {0x0642, 0xe2} /* letter qaf */, - {0x0643, 0xe3} /* letter kaf */, - {0x0644, 0xe4} /* letter lam */, - {0x0645, 0xe5} /* letter meem */, - {0x0646, 0xe6} /* letter noon */, - {0x0647, 0xe7} /* letter heh */, - {0x0648, 0xe8} /* letter waw */, - {0x0649, 0xe9} /* letter alef maksura */, - {0x064a, 0xea} /* letter yeh */, - {0x064b, 0xeb} /* fathatan */, - {0x064c, 0xec} /* dammatan */, - {0x064d, 0xed} /* kasratan */, - {0x064e, 0xee} /* fatha */, - {0x064f, 0xef} /* damma */, - {0x0650, 0xf0} /* kasra */, - {0x0651, 0xf1} /* shadda */, - {0x0652, 0xf2} /* sukun */ -}; - -/* -#define cet_ucs4_to_iso_8859_6_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_6_extra[cet_ucs4_to_iso_8859_6_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_6 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_6, /* name of character set */ - cet_cs_alias_iso_8859_6, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_6, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_6, /* first non standard character */ - cet_ucs4_cnt_iso_8859_6, /* number of values in table */ - - cet_ucs4_to_iso_8859_6_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_6_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_6_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, -1, -1, -1, 0x00a4, -1, -1, -1, - -1, -1, -1, -1, 0x060c, 0x00ad, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 0x061b, -1, -1, -1, 0x061f, - -1, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, - 0x0628, 0x0629, 0x062a, 0x062b, 0x062c, 0x062d, 0x062e, 0x062f, - 0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637, - 0x0638, 0x0639, 0x063a, -1, -1, -1, -1, -1, - 0x0640, 0x0641, 0x0642, 0x0643, 0x0644, 0x0645, 0x0646, 0x0647, - 0x0648, 0x0649, 0x064a, 0x064b, 0x064c, 0x064d, 0x064e, 0x064f, - 0x0650, 0x0651, 0x0652, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_7.h b/gpsbabel/cet/iso_8859_7.h deleted file mode 100644 index 09a6f50c7..000000000 --- a/gpsbabel/cet/iso_8859_7.h +++ /dev/null @@ -1,199 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-7" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_7_h -#define iso_8859_7_h - -#define cet_cs_name_iso_8859_7 "ISO-8859-7" - -const char *cet_cs_alias_iso_8859_7[] = -{ - "ISO-8859-7", "csISOLatinGreek", "ECMA-118", "ELOT_928", - "greek", "greek8", "ISO8859-7", "iso-ir-126", - "ISO_8859-7", "ISO_8859-7:1987", NULL -}; - -#define cet_ucs4_ofs_iso_8859_7 161 -#define cet_ucs4_cnt_iso_8859_7 94 - -const int cet_ucs4_map_iso_8859_7[cet_ucs4_cnt_iso_8859_7] = -{ - 0x201b, 0x2019, 0x00a3, -1, -1, 0x00a6, 0x00a7, 0x00a8, - 0x00a9, -1, 0x00ab, 0x00ac, 0x00ad, -1, 0x2014, 0x00b0, - 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x0385, 0x0386, 0x00b7, 0x0388, - 0x0389, 0x038a, 0x00bb, 0x038c, 0x00bd, 0x038e, 0x038f, 0x0390, - 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, 0x0398, - 0x0399, 0x039a, 0x039b, 0x039c, 0x039d, 0x039e, 0x039f, 0x03a0, - 0x03a1, -1, 0x03a3, 0x03a4, 0x03a5, 0x03a6, 0x03a7, 0x03a8, - 0x03a9, 0x03aa, 0x03ab, 0x03ac, 0x03ad, 0x03ae, 0x03af, 0x03b0, - 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, 0x03b8, - 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf, 0x03c0, - 0x03c1, 0x03c2, 0x03c3, 0x03c4, 0x03c5, 0x03c6, 0x03c7, 0x03c8, - 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce -}; - -#define cet_ucs4_to_iso_8859_7_ct 73 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_7_links[cet_ucs4_to_iso_8859_7_ct] = -{ - {0x0385, 0xb5} /* accent and diaeresis (tonos and dialytika) */, - {0x0386, 0xb6} /* capital letter alpha with acute */, - {0x0388, 0xb8} /* capital letter epsilon with acute */, - {0x0389, 0xb9} /* capital letter eta with acute */, - {0x038a, 0xba} /* capital letter iota with acute */, - {0x038c, 0xbc} /* capital letter omicron with acute */, - {0x038e, 0xbe} /* capital letter upsilon with acute */, - {0x038f, 0xbf} /* capital letter omega with acute */, - {0x0390, 0xc0} /* small letter iota with acute and diaeresis */, - {0x0391, 0xc1} /* capital letter alpha */, - {0x0392, 0xc2} /* capital letter beta */, - {0x0393, 0xc3} /* capital letter gamma */, - {0x0394, 0xc4} /* capital letter delta */, - {0x0395, 0xc5} /* capital letter epsilon */, - {0x0396, 0xc6} /* capital letter zeta */, - {0x0397, 0xc7} /* capital letter eta */, - {0x0398, 0xc8} /* capital letter theta */, - {0x0399, 0xc9} /* capital letter iota */, - {0x039a, 0xca} /* capital letter kappa */, - {0x039b, 0xcb} /* capital letter lamda */, - {0x039c, 0xcc} /* capital letter mu */, - {0x039d, 0xcd} /* capital letter nu */, - {0x039e, 0xce} /* capital letter xi */, - {0x039f, 0xcf} /* capital letter omicron */, - {0x03a0, 0xd0} /* capital letter pi */, - {0x03a1, 0xd1} /* capital letter rho */, - {0x03a3, 0xd3} /* capital letter sigma */, - {0x03a4, 0xd4} /* capital letter tau */, - {0x03a5, 0xd5} /* capital letter upsilon */, - {0x03a6, 0xd6} /* capital letter phi */, - {0x03a7, 0xd7} /* capital letter chi */, - {0x03a8, 0xd8} /* capital letter psi */, - {0x03a9, 0xd9} /* capital letter omega */, - {0x03aa, 0xda} /* capital letter iota with diaeresis */, - {0x03ab, 0xdb} /* capital letter upsilon with diaeresis */, - {0x03ac, 0xdc} /* small letter alpha with acute */, - {0x03ad, 0xdd} /* small letter epsilon with acute */, - {0x03ae, 0xde} /* small letter eta with acute */, - {0x03af, 0xdf} /* small letter iota with acute */, - {0x03b0, 0xe0} /* small letter upsilon with acute and diaeresis */, - {0x03b1, 0xe1} /* small letter alpha */, - {0x03b2, 0xe2} /* small letter beta */, - {0x03b3, 0xe3} /* small letter gamma */, - {0x03b4, 0xe4} /* small letter delta */, - {0x03b5, 0xe5} /* small letter epsilon */, - {0x03b6, 0xe6} /* small letter zeta */, - {0x03b7, 0xe7} /* small letter eta */, - {0x03b8, 0xe8} /* small letter theta */, - {0x03b9, 0xe9} /* small letter iota */, - {0x03ba, 0xea} /* small letter kappa */, - {0x03bb, 0xeb} /* small letter lamda */, - {0x03bc, 0xec} /* small letter mu */, - {0x03bd, 0xed} /* small letter nu */, - {0x03be, 0xee} /* small letter xi */, - {0x03bf, 0xef} /* small letter omicron */, - {0x03c0, 0xf0} /* small letter pi */, - {0x03c1, 0xf1} /* small letter rho */, - {0x03c2, 0xf2} /* small letter final sigma */, - {0x03c3, 0xf3} /* small letter sigma */, - {0x03c4, 0xf4} /* small letter tau */, - {0x03c5, 0xf5} /* small letter upsilon */, - {0x03c6, 0xf6} /* small letter phi */, - {0x03c7, 0xf7} /* small letter chi */, - {0x03c8, 0xf8} /* small letter psi */, - {0x03c9, 0xf9} /* small letter omega */, - {0x03ca, 0xfa} /* small letter iota with diaeresis */, - {0x03cb, 0xfb} /* small letter upsilon with diaeresis */, - {0x03cc, 0xfc} /* small letter omicron with acute */, - {0x03cd, 0xfd} /* small letter upsilon with acute */, - {0x03ce, 0xfe} /* small letter omega with acute */, - {0x2014, 0xaf} /* dash */, - {0x2019, 0xa2} /* single quotation mark */, - {0x201b, 0xa1} /* high-reversed-9 quotation mark */ -}; - -/* -#define cet_ucs4_to_iso_8859_7_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_7_extra[cet_ucs4_to_iso_8859_7_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_7 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_7, /* name of character set */ - cet_cs_alias_iso_8859_7, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_7, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_7, /* first non standard character */ - cet_ucs4_cnt_iso_8859_7, /* number of values in table */ - - cet_ucs4_to_iso_8859_7_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_7_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_7_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x201b, 0x2019, 0x00a3, -1, -1, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, -1, 0x00ab, 0x00ac, 0x00ad, -1, 0x2014, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x0385, 0x0386, 0x00b7, - 0x0388, 0x0389, 0x038a, 0x00bb, 0x038c, 0x00bd, 0x038e, 0x038f, - 0x0390, 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, - 0x0398, 0x0399, 0x039a, 0x039b, 0x039c, 0x039d, 0x039e, 0x039f, - 0x03a0, 0x03a1, -1, 0x03a3, 0x03a4, 0x03a5, 0x03a6, 0x03a7, - 0x03a8, 0x03a9, 0x03aa, 0x03ab, 0x03ac, 0x03ad, 0x03ae, 0x03af, - 0x03b0, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7, - 0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf, - 0x03c0, 0x03c1, 0x03c2, 0x03c3, 0x03c4, 0x03c5, 0x03c6, 0x03c7, - 0x03c8, 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_8.h b/gpsbabel/cet/iso_8859_8.h deleted file mode 100644 index e22f04a60..000000000 --- a/gpsbabel/cet/iso_8859_8.h +++ /dev/null @@ -1,156 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-8" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_8_h -#define iso_8859_8_h - -#define cet_cs_name_iso_8859_8 "ISO-8859-8" - -const char *cet_cs_alias_iso_8859_8[] = -{ - "ISO-8859-8", "csISOLatinHebrew", "hebrew", "ISO8859-8", - "iso-ir-138", "ISO_8859-8", "ISO_8859-8:1988", NULL -}; - -#define cet_ucs4_ofs_iso_8859_8 161 -#define cet_ucs4_cnt_iso_8859_8 90 - -const int cet_ucs4_map_iso_8859_8[cet_ucs4_cnt_iso_8859_8] = -{ - -1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, 0x00a8, - 0x00a9, 0x00d7, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x203e, 0x00b0, - 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, 0x00b8, - 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 0x2017, 0x05d0, - 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, 0x05d8, - 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, 0x05e0, - 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, 0x05e8, - 0x05e9, 0x05ea -}; - -#define cet_ucs4_to_iso_8859_8_ct 31 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_8_links[cet_ucs4_to_iso_8859_8_ct] = -{ - {0x00d7, 0xaa} /* sign */, - {0x00f7, 0xba} /* sign */, - {0x05d0, 0xe0} /* letter alef */, - {0x05d1, 0xe1} /* letter bet */, - {0x05d2, 0xe2} /* letter gimel */, - {0x05d3, 0xe3} /* letter dalet */, - {0x05d4, 0xe4} /* letter he */, - {0x05d5, 0xe5} /* letter vav */, - {0x05d6, 0xe6} /* letter zayin */, - {0x05d7, 0xe7} /* letter het */, - {0x05d8, 0xe8} /* letter tet */, - {0x05d9, 0xe9} /* letter yod */, - {0x05da, 0xea} /* letter final kaf */, - {0x05db, 0xeb} /* letter kaf */, - {0x05dc, 0xec} /* letter lamed */, - {0x05dd, 0xed} /* letter final mem */, - {0x05de, 0xee} /* letter mem */, - {0x05df, 0xef} /* letter final nun */, - {0x05e0, 0xf0} /* letter nun */, - {0x05e1, 0xf1} /* letter samekh */, - {0x05e2, 0xf2} /* letter ayin */, - {0x05e3, 0xf3} /* letter final pe */, - {0x05e4, 0xf4} /* letter pe */, - {0x05e5, 0xf5} /* letter final tsadi */, - {0x05e6, 0xf6} /* letter tsadi */, - {0x05e7, 0xf7} /* letter qof */, - {0x05e8, 0xf8} /* letter resh */, - {0x05e9, 0xf9} /* letter shin */, - {0x05ea, 0xfa} /* letter tav */, - {0x2017, 0xdf} /* low line */, - {0x203e, 0xaf} /* overline */ -}; - -/* -#define cet_ucs4_to_iso_8859_8_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_8_extra[cet_ucs4_to_iso_8859_8_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_8 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_8, /* name of character set */ - cet_cs_alias_iso_8859_8, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_8, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_8, /* first non standard character */ - cet_ucs4_cnt_iso_8859_8, /* number of values in table */ - - cet_ucs4_to_iso_8859_8_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_8_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_8_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, -1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00d7, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x203e, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 0x2017, - 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, - 0x05d8, 0x05d9, 0x05da, 0x05db, 0x05dc, 0x05dd, 0x05de, 0x05df, - 0x05e0, 0x05e1, 0x05e2, 0x05e3, 0x05e4, 0x05e5, 0x05e6, 0x05e7, - 0x05e8, 0x05e9, 0x05ea, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_9.h b/gpsbabel/cet/iso_8859_9.h deleted file mode 100644 index 4babb270b..000000000 --- a/gpsbabel/cet/iso_8859_9.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO-8859-9" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_9_h -#define iso_8859_9_h - -#define cet_cs_name_iso_8859_9 "ISO-8859-9" - -const char *cet_cs_alias_iso_8859_9[] = -{ - "ISO-8859-9", "csISOLatin5", "ISO8859-9", "iso-ir-148", - "ISO_8859-9", "ISO_8859-9:1989", "l5", "lat5", "latin5", - NULL -}; - -#define cet_ucs4_ofs_iso_8859_9 208 -#define cet_ucs4_cnt_iso_8859_9 48 - -const int cet_ucs4_map_iso_8859_9[cet_ucs4_cnt_iso_8859_9] = -{ - 0x011e, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0130, 0x015e, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, - 0x011f, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff -}; - -#define cet_ucs4_to_iso_8859_9_ct 9 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_9_links[cet_ucs4_to_iso_8859_9_ct] = -{ - {0x0117, 0xec} /* small letter e with dot above */, - {0x0119, 0xea} /* small letter e with ogonek */, - {0x011e, 0xd0} /* capital letter g with breve */, - {0x011f, 0xf0} /* small letter g with breve */, - {0x012b, 0xef} /* small letter i with macron */, - {0x0130, 0xdd} /* capital letter i with dot above */, - {0x0131, 0xfd} /* small letter i dotless */, - {0x015e, 0xde} /* capital letter s with cedilla */, - {0x015f, 0xfe} /* small letter s with cedilla */ -}; - -/* -#define cet_ucs4_to_iso_8859_9_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_9_extra[cet_ucs4_to_iso_8859_9_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_9 = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_9, /* name of character set */ - cet_cs_alias_iso_8859_9, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_9, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_9, /* first non standard character */ - cet_ucs4_cnt_iso_8859_9, /* number of values in table */ - - cet_ucs4_to_iso_8859_9_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_9_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_9_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, - 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, - 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, - 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x011e, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, - 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0130, 0x015e, 0x00df, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, - 0x00e8, 0x00e9, 0x0119, 0x00eb, 0x0117, 0x00ed, 0x00ee, 0x012b, - 0x011f, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, - 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff -}; -*/ - -#endif diff --git a/gpsbabel/cet/iso_8859_supp.h b/gpsbabel/cet/iso_8859_supp.h deleted file mode 100644 index 1c7f05724..000000000 --- a/gpsbabel/cet/iso_8859_supp.h +++ /dev/null @@ -1,212 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "ISO_8859-supp" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef iso_8859_supp_h -#define iso_8859_supp_h - -#define cet_cs_name_iso_8859_supp "ISO_8859-supp" - -const char *cet_cs_alias_iso_8859_supp[] = -{ - "ISO_8859-supp", "iso-ir-154", "latin1-2-5", NULL -}; - -#define cet_ucs4_ofs_iso_8859_supp 160 -#define cet_ucs4_cnt_iso_8859_supp 96 - -const int cet_ucs4_map_iso_8859_supp[cet_ucs4_cnt_iso_8859_supp] = -{ - -1, -1, 0x0100, 0x0108, 0x010a, -1, 0x0116, 0x0112, - 0x011c, 0x2018, 0x201c, 0x2122, 0x2190, 0x2191, 0x2192, 0x2193, - -1, -1, 0x0101, 0x0109, 0x010b, 0x00f0, 0x0117, 0x0113, - 0x011d, 0x2019, 0x201d, 0x266a, 0x215b, 0x215c, 0x215d, 0x215e, - -1, 0x011e, 0x0120, 0x0122, 0x0124, 0x0126, 0x0128, 0x0130, - 0x012a, 0x012e, 0x0132, 0x0134, 0x0136, 0x013b, 0x013f, 0x0145, - 0x2014, 0x014a, 0x014c, 0x0152, 0x0156, 0x015c, 0x0166, 0x00de, - 0x0168, 0x016c, 0x016a, 0x0172, 0x0174, 0x00dd, 0x0176, 0x0178, - 0x2126, 0x011f, 0x0121, 0x0123, 0x0125, 0x0127, 0x0129, 0x0131, - 0x012b, 0x012f, 0x0133, 0x0135, 0x0137, 0x013c, 0x0140, 0x0146, - 0x0138, 0x014b, 0x014d, 0x0153, 0x0157, 0x015d, 0x0167, 0x00fe, - 0x0169, 0x016d, 0x016b, 0x0173, 0x0175, 0x00fd, 0x0177, 0x0149 -}; - -#define cet_ucs4_to_iso_8859_supp_ct 88 - -const cet_ucs4_link_t cet_ucs4_to_iso_8859_supp_links[cet_ucs4_to_iso_8859_supp_ct] = -{ - {0x00de, 0xd7} /* capital letter thorn (icelandic) */, - {0x00f0, 0xb5} /* small letter eth (icelandic) */, - {0x00fe, 0xf7} /* small letter thorn (icelandic) */, - {0x0100, 0xa2} /* capital letter a with macron */, - {0x0101, 0xb2} /* small letter a with macron */, - {0x0108, 0xa3} /* capital letter c with circumflex */, - {0x0109, 0xb3} /* small letter c with circumflex */, - {0x010a, 0xa4} /* capital letter c with dot above */, - {0x010b, 0xb4} /* small letter c with dot above */, - {0x0112, 0xa7} /* capital letter e with macron */, - {0x0113, 0xb7} /* small letter e with macron */, - {0x0116, 0xa6} /* capital letter e with dot above */, - {0x0117, 0xb6} /* small letter e with dot above */, - {0x011c, 0xa8} /* capital letter g with circumflex */, - {0x011d, 0xb8} /* small letter g with circumflex */, - {0x011e, 0xc1} /* capital letter g with breve */, - {0x011f, 0xe1} /* small letter g with breve */, - {0x0120, 0xc2} /* capital letter g with dot above */, - {0x0121, 0xe2} /* small letter g with dot above */, - {0x0122, 0xc3} /* capital letter g with cedilla */, - {0x0123, 0xe3} /* small letter g with cedilla */, - {0x0124, 0xc4} /* capital letter h with circumflex */, - {0x0125, 0xe4} /* small letter h with circumflex */, - {0x0126, 0xc5} /* capital letter h with stroke */, - {0x0127, 0xe5} /* small letter h with stroke */, - {0x0128, 0xc6} /* capital letter i with tilde */, - {0x0129, 0xe6} /* small letter i with tilde */, - {0x012a, 0xc8} /* capital letter i with macron */, - {0x012b, 0xe8} /* small letter i with macron */, - {0x012e, 0xc9} /* capital letter i with ogonek */, - {0x012f, 0xe9} /* small letter i with ogonek */, - {0x0130, 0xc7} /* capital letter i with dot above */, - {0x0131, 0xe7} /* small letter i dotless */, - {0x0132, 0xca} /* capital ligature ij */, - {0x0133, 0xea} /* small ligature ij */, - {0x0134, 0xcb} /* capital letter j with circumflex */, - {0x0135, 0xeb} /* small letter j with circumflex */, - {0x0136, 0xcc} /* capital letter k with cedilla */, - {0x0137, 0xec} /* small letter k with cedilla */, - {0x0138, 0xf0} /* small letter kra (greenlandic) */, - {0x013b, 0xcd} /* capital letter l with cedilla */, - {0x013c, 0xed} /* small letter l with cedilla */, - {0x013f, 0xce} /* capital letter l with middle dot */, - {0x0140, 0xee} /* small letter l with middle dot */, - {0x0145, 0xcf} /* capital letter n with cedilla */, - {0x0146, 0xef} /* small letter n with cedilla */, - {0x0149, 0xff} /* small letter n preceded by apostrophe */, - {0x014a, 0xd1} /* capital letter eng (lappish) */, - {0x014b, 0xf1} /* small letter eng (lappish) */, - {0x014c, 0xd2} /* capital letter o with macron */, - {0x014d, 0xf2} /* small letter o with macron */, - {0x0152, 0xd3} /* capital ligature oe */, - {0x0153, 0xf3} /* small ligature oe */, - {0x0156, 0xd4} /* capital letter r with cedilla */, - {0x0157, 0xf4} /* small letter r with cedilla */, - {0x015c, 0xd5} /* capital letter s with circumflex */, - {0x015d, 0xf5} /* small letter s with circumflex */, - {0x0166, 0xd6} /* capital letter t with stroke */, - {0x0167, 0xf6} /* small letter t with stroke */, - {0x0168, 0xd8} /* capital letter u with tilde */, - {0x0169, 0xf8} /* small letter u with tilde */, - {0x016a, 0xda} /* capital letter u with macron */, - {0x016b, 0xfa} /* small letter u with macron */, - {0x016c, 0xd9} /* capital letter u with breve */, - {0x016d, 0xf9} /* small letter u with breve */, - {0x0172, 0xdb} /* capital letter u with ogonek */, - {0x0173, 0xfb} /* small letter u with ogonek */, - {0x0174, 0xdc} /* capital letter w with circumflex */, - {0x0175, 0xfc} /* small letter w with circumflex */, - {0x0176, 0xde} /* capital letter y with circumflex */, - {0x0177, 0xfe} /* small letter y with circumflex */, - {0x0178, 0xdf} /* capital letter y with diaeresis */, - {0x2014, 0xd0} /* dash */, - {0x2018, 0xa9} /* single quotation mark */, - {0x2019, 0xb9} /* single quotation mark */, - {0x201c, 0xaa} /* double quotation mark */, - {0x201d, 0xba} /* double quotation mark */, - {0x2122, 0xab} /* mark sign */, - {0x2126, 0xe0} /* sign */, - {0x215b, 0xbc} /* fraction one eighth */, - {0x215c, 0xbd} /* fraction three eighths */, - {0x215d, 0xbe} /* fraction five eighths */, - {0x215e, 0xbf} /* fraction seven eighths */, - {0x2190, 0xac} /* arrow */, - {0x2191, 0xad} /* arrow */, - {0x2192, 0xae} /* arrow */, - {0x2193, 0xaf} /* arrow */, - {0x266a, 0xbb} /* note */ -}; - -/* -#define cet_ucs4_to_iso_8859_supp_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_iso_8859_supp_extra[cet_ucs4_to_iso_8859_supp_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_iso_8859_supp = /* defined in cet.h */ -{ - cet_cs_name_iso_8859_supp, /* name of character set */ - cet_cs_alias_iso_8859_supp, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_iso_8859_supp, /* char to UCS-4 value table */ - cet_ucs4_ofs_iso_8859_supp, /* first non standard character */ - cet_ucs4_cnt_iso_8859_supp, /* number of values in table */ - - cet_ucs4_to_iso_8859_supp_links, /* UCS-4 to char links */ - cet_ucs4_to_iso_8859_supp_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int iso_8859_supp_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - -1, -1, 0x0100, 0x0108, 0x010a, -1, 0x0116, 0x0112, - 0x011c, 0x2018, 0x201c, 0x2122, 0x2190, 0x2191, 0x2192, 0x2193, - -1, -1, 0x0101, 0x0109, 0x010b, 0x00f0, 0x0117, 0x0113, - 0x011d, 0x2019, 0x201d, 0x266a, 0x215b, 0x215c, 0x215d, 0x215e, - -1, 0x011e, 0x0120, 0x0122, 0x0124, 0x0126, 0x0128, 0x0130, - 0x012a, 0x012e, 0x0132, 0x0134, 0x0136, 0x013b, 0x013f, 0x0145, - 0x2014, 0x014a, 0x014c, 0x0152, 0x0156, 0x015c, 0x0166, 0x00de, - 0x0168, 0x016c, 0x016a, 0x0172, 0x0174, 0x00dd, 0x0176, 0x0178, - 0x2126, 0x011f, 0x0121, 0x0123, 0x0125, 0x0127, 0x0129, 0x0131, - 0x012b, 0x012f, 0x0133, 0x0135, 0x0137, 0x013c, 0x0140, 0x0146, - 0x0138, 0x014b, 0x014d, 0x0153, 0x0157, 0x015d, 0x0167, 0x00fe, - 0x0169, 0x016d, 0x016b, 0x0173, 0x0175, 0x00fd, 0x0177, 0x0149 -}; -*/ - -#endif diff --git a/gpsbabel/cet/it.h b/gpsbabel/cet/it.h deleted file mode 100644 index 178d100bf..000000000 --- a/gpsbabel/cet/it.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "IT" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef it_h -#define it_h - -#define cet_cs_name_it "IT" - -const char *cet_cs_alias_it[] = -{ - "IT", "ISO646-IT", "iso-ir-15", NULL -}; - -#define cet_ucs4_ofs_it 35 -#define cet_ucs4_cnt_it 93 - -const int cet_ucs4_map_it[cet_ucs4_cnt_it] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x00a7, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x00b0, 0x00e7, 0x00e9, 0x005e, 0x005f, 0x00f9, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e0, 0x00f2, 0x00e8, 0x00ec, 0x007f -}; - -#define cet_ucs4_to_it_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_it_links[cet_ucs4_to_it_ct] = -{ - {0x00a3, 0x23} /* sign */, - {0x00a7, 0x40} /* sign */, - {0x00b0, 0x5b} /* sign */, - {0x00e0, 0x7b} /* small letter a with grave */, - {0x00e7, 0x5c} /* small letter c with cedilla */, - {0x00e8, 0x7d} /* small letter e with grave */, - {0x00e9, 0x5d} /* small letter e with acute */, - {0x00ec, 0x7e} /* small letter i with grave */, - {0x00f2, 0x7c} /* small letter o with grave */, - {0x00f9, 0x60} /* small letter u with grave */ -}; - -/* -#define cet_ucs4_to_it_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_it_extra[cet_ucs4_to_it_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_it = /* defined in cet.h */ -{ - cet_cs_name_it, /* name of character set */ - cet_cs_alias_it, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_it, /* char to UCS-4 value table */ - cet_ucs4_ofs_it, /* first non standard character */ - cet_ucs4_cnt_it, /* number of values in table */ - - cet_ucs4_to_it_links, /* UCS-4 to char links */ - cet_ucs4_to_it_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int it_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00b0, 0x00e7, 0x00e9, 0x005e, 0x005f, - 0x00f9, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e0, 0x00f2, 0x00e8, 0x00ec, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/jis_c6220_1969_ro.h b/gpsbabel/cet/jis_c6220_1969_ro.h deleted file mode 100644 index 2227d0fcf..000000000 --- a/gpsbabel/cet/jis_c6220_1969_ro.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "JIS_C6220-1969-ro" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef jis_c6220_1969_ro_h -#define jis_c6220_1969_ro_h - -#define cet_cs_name_jis_c6220_1969_ro "JIS_C6220-1969-ro" - -const char *cet_cs_alias_jis_c6220_1969_ro[] = -{ - "JIS_C6220-1969-ro", "csISO14JISC6220ro", "ISO646-JP", "iso-ir-14", - "jp", NULL -}; - -#define cet_ucs4_ofs_jis_c6220_1969_ro 92 -#define cet_ucs4_cnt_jis_c6220_1969_ro 36 - -const int cet_ucs4_map_jis_c6220_1969_ro[cet_ucs4_cnt_jis_c6220_1969_ro] = -{ - 0x00a5, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x203e, 0x007f -}; - -#define cet_ucs4_to_jis_c6220_1969_ro_ct 2 - -const cet_ucs4_link_t cet_ucs4_to_jis_c6220_1969_ro_links[cet_ucs4_to_jis_c6220_1969_ro_ct] = -{ - {0x00a5, 0x5c} /* sign */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_jis_c6220_1969_ro_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_jis_c6220_1969_ro_extra[cet_ucs4_to_jis_c6220_1969_ro_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_jis_c6220_1969_ro = /* defined in cet.h */ -{ - cet_cs_name_jis_c6220_1969_ro, /* name of character set */ - cet_cs_alias_jis_c6220_1969_ro, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_jis_c6220_1969_ro, /* char to UCS-4 value table */ - cet_ucs4_ofs_jis_c6220_1969_ro, /* first non standard character */ - cet_ucs4_cnt_jis_c6220_1969_ro, /* number of values in table */ - - cet_ucs4_to_jis_c6220_1969_ro_links, /* UCS-4 to char links */ - cet_ucs4_to_jis_c6220_1969_ro_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int jis_c6220_1969_ro_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x00a5, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/jis_x0201.h b/gpsbabel/cet/jis_x0201.h deleted file mode 100644 index 0675cb3ac..000000000 --- a/gpsbabel/cet/jis_x0201.h +++ /dev/null @@ -1,195 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "JIS_X0201" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef jis_x0201_h -#define jis_x0201_h - -#define cet_cs_name_jis_x0201 "JIS_X0201" - -const char *cet_cs_alias_jis_x0201[] = -{ - "JIS_X0201", "csHalfWidthKatakana", "JIS0201", "JISX0201-1976", - "JISX0201.1976-0", "X0201", NULL -}; - -#define cet_ucs4_ofs_jis_x0201 92 -#define cet_ucs4_cnt_jis_x0201 132 - -const int cet_ucs4_map_jis_x0201[cet_ucs4_cnt_jis_x0201] = -{ - 0x00a5, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x203e, 0x007f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, 0x009a, 0x009b, - 0x009c, 0x009d, 0x009e, 0x009f, -1, 0x3002, 0x300c, 0x300d, - 0x3001, 0x30fb, 0x30f2, 0x30a1, 0x30a3, 0x30a5, 0x30a7, 0x30a9, - 0x30e3, 0x30e5, 0x30e7, 0x30c3, 0x30fc, 0x30a2, 0x30a4, 0x30a6, - 0x30a8, 0x30aa, 0x30ab, 0x30ad, 0x30af, 0x30b1, 0x30b3, 0x30b5, - 0x30b7, 0x30b9, 0x30bb, 0x30bd, 0x30bf, 0x30c1, 0x30c4, 0x30c6, - 0x30c8, 0x30ca, 0x30cb, 0x30cc, 0x30cd, 0x30ce, 0x30cf, 0x30d2, - 0x30d5, 0x30d8, 0x30db, 0x30de, 0x30df, 0x30e0, 0x30e1, 0x30e2, - 0x30e4, 0x30e6, 0x30e8, 0x30e9, 0x30ea, 0x30eb, 0x30ec, 0x30ed, - 0x30ef, 0x30f3, 0x309b, 0x309c -}; - -#define cet_ucs4_to_jis_x0201_ct 65 - -const cet_ucs4_link_t cet_ucs4_to_jis_x0201_links[cet_ucs4_to_jis_x0201_ct] = -{ - {0x00a5, 0x5c} /* sign */, - {0x203e, 0x7e} /* overline */, - {0x3001, 0xa4} /* comma */, - {0x3002, 0xa1} /* period */, - {0x300c, 0xa2} /* corner bracket */, - {0x300d, 0xa3} /* corner bracket */, - {0x309b, 0xde} /* voiced sound mark */, - {0x309c, 0xdf} /* semi-voiced sound mark */, - {0x30a1, 0xa7} /* letter small a */, - {0x30a2, 0xb1} /* letter a */, - {0x30a3, 0xa8} /* letter small i */, - {0x30a4, 0xb2} /* letter i */, - {0x30a5, 0xa9} /* letter small u */, - {0x30a6, 0xb3} /* letter u */, - {0x30a7, 0xaa} /* letter small e */, - {0x30a8, 0xb4} /* letter e */, - {0x30a9, 0xab} /* letter small o */, - {0x30aa, 0xb5} /* letter o */, - {0x30ab, 0xb6} /* letter ka */, - {0x30ad, 0xb7} /* letter ki */, - {0x30af, 0xb8} /* letter ku */, - {0x30b1, 0xb9} /* letter ke */, - {0x30b3, 0xba} /* letter ko */, - {0x30b5, 0xbb} /* letter sa */, - {0x30b7, 0xbc} /* letter si */, - {0x30b9, 0xbd} /* letter su */, - {0x30bb, 0xbe} /* letter se */, - {0x30bd, 0xbf} /* letter so */, - {0x30bf, 0xc0} /* letter ta */, - {0x30c1, 0xc1} /* letter ti */, - {0x30c3, 0xaf} /* letter small tu */, - {0x30c4, 0xc2} /* letter tu */, - {0x30c6, 0xc3} /* letter te */, - {0x30c8, 0xc4} /* letter to */, - {0x30ca, 0xc5} /* letter na */, - {0x30cb, 0xc6} /* letter ni */, - {0x30cc, 0xc7} /* letter nu */, - {0x30cd, 0xc8} /* letter ne */, - {0x30ce, 0xc9} /* letter no */, - {0x30cf, 0xca} /* letter ha */, - {0x30d2, 0xcb} /* letter hi */, - {0x30d5, 0xcc} /* letter hu */, - {0x30d8, 0xcd} /* letter he */, - {0x30db, 0xce} /* letter ho */, - {0x30de, 0xcf} /* letter ma */, - {0x30df, 0xd0} /* letter mi */, - {0x30e0, 0xd1} /* letter mu */, - {0x30e1, 0xd2} /* letter me */, - {0x30e2, 0xd3} /* letter mo */, - {0x30e3, 0xac} /* letter small ya */, - {0x30e4, 0xd4} /* letter ya */, - {0x30e5, 0xad} /* letter small yu */, - {0x30e6, 0xd5} /* letter yu */, - {0x30e7, 0xae} /* letter small yo */, - {0x30e8, 0xd6} /* letter yo */, - {0x30e9, 0xd7} /* letter ra */, - {0x30ea, 0xd8} /* letter ri */, - {0x30eb, 0xd9} /* letter ru */, - {0x30ec, 0xda} /* letter re */, - {0x30ed, 0xdb} /* letter ro */, - {0x30ef, 0xdc} /* letter wa */, - {0x30f2, 0xa6} /* letter wo */, - {0x30f3, 0xdd} /* letter n */, - {0x30fb, 0xa5} /* middle dot */, - {0x30fc, 0xb0} /* prolonged sound mark */ -}; - -/* -#define cet_ucs4_to_jis_x0201_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_jis_x0201_extra[cet_ucs4_to_jis_x0201_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_jis_x0201 = /* defined in cet.h */ -{ - cet_cs_name_jis_x0201, /* name of character set */ - cet_cs_alias_jis_x0201, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_jis_x0201, /* char to UCS-4 value table */ - cet_ucs4_ofs_jis_x0201, /* first non standard character */ - cet_ucs4_cnt_jis_x0201, /* number of values in table */ - - cet_ucs4_to_jis_x0201_links, /* UCS-4 to char links */ - cet_ucs4_to_jis_x0201_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int jis_x0201_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x00a5, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - -1, 0x3002, 0x300c, 0x300d, 0x3001, 0x30fb, 0x30f2, 0x30a1, - 0x30a3, 0x30a5, 0x30a7, 0x30a9, 0x30e3, 0x30e5, 0x30e7, 0x30c3, - 0x30fc, 0x30a2, 0x30a4, 0x30a6, 0x30a8, 0x30aa, 0x30ab, 0x30ad, - 0x30af, 0x30b1, 0x30b3, 0x30b5, 0x30b7, 0x30b9, 0x30bb, 0x30bd, - 0x30bf, 0x30c1, 0x30c4, 0x30c6, 0x30c8, 0x30ca, 0x30cb, 0x30cc, - 0x30cd, 0x30ce, 0x30cf, 0x30d2, 0x30d5, 0x30d8, 0x30db, 0x30de, - 0x30df, 0x30e0, 0x30e1, 0x30e2, 0x30e4, 0x30e6, 0x30e8, 0x30e9, - 0x30ea, 0x30eb, 0x30ec, 0x30ed, 0x30ef, 0x30f3, 0x309b, 0x309c, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/jus_i_b1_002.h b/gpsbabel/cet/jus_i_b1_002.h deleted file mode 100644 index fc8c7e936..000000000 --- a/gpsbabel/cet/jus_i_b1_002.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "JUS_I.B1.002" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef jus_i_b1_002_h -#define jus_i_b1_002_h - -#define cet_cs_name_jus_i_b1_002 "JUS_I.B1.002" - -const char *cet_cs_alias_jus_i_b1_002[] = -{ - "JUS_I.B1.002", "ISO646-YU", "iso-ir-141", "js", - "yu", NULL -}; - -#define cet_ucs4_ofs_jus_i_b1_002 64 -#define cet_ucs4_cnt_jus_i_b1_002 64 - -const int cet_ucs4_map_jus_i_b1_002[cet_ucs4_cnt_jus_i_b1_002] = -{ - 0x017d, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x0160, 0x0110, 0x0106, 0x010c, 0x005f, - 0x017e, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x0161, 0x0111, 0x0107, 0x010d, 0x007f -}; - -#define cet_ucs4_to_jus_i_b1_002_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_002_links[cet_ucs4_to_jus_i_b1_002_ct] = -{ - {0x0106, 0x5d} /* capital letter c with acute */, - {0x0107, 0x7d} /* small letter c with acute */, - {0x010c, 0x5e} /* capital letter c with caron */, - {0x010d, 0x7e} /* small letter c with caron */, - {0x0110, 0x5c} /* capital letter d with stroke */, - {0x0111, 0x7c} /* small letter d with stroke */, - {0x0160, 0x5b} /* capital letter s with caron */, - {0x0161, 0x7b} /* small letter s with caron */, - {0x017d, 0x40} /* capital letter z with caron */, - {0x017e, 0x60} /* small letter z with caron */ -}; - -/* -#define cet_ucs4_to_jus_i_b1_002_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_002_extra[cet_ucs4_to_jus_i_b1_002_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_jus_i_b1_002 = /* defined in cet.h */ -{ - cet_cs_name_jus_i_b1_002, /* name of character set */ - cet_cs_alias_jus_i_b1_002, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_jus_i_b1_002, /* char to UCS-4 value table */ - cet_ucs4_ofs_jus_i_b1_002, /* first non standard character */ - cet_ucs4_cnt_jus_i_b1_002, /* number of values in table */ - - cet_ucs4_to_jus_i_b1_002_links, /* UCS-4 to char links */ - cet_ucs4_to_jus_i_b1_002_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int jus_i_b1_002_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x017d, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x0160, 0x0110, 0x0106, 0x010c, 0x005f, - 0x017e, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x0161, 0x0111, 0x0107, 0x010d, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/jus_i_b1_003_mac.h b/gpsbabel/cet/jus_i_b1_003_mac.h deleted file mode 100644 index 7082a0d43..000000000 --- a/gpsbabel/cet/jus_i_b1_003_mac.h +++ /dev/null @@ -1,182 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "JUS_I.B1.003-mac" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef jus_i_b1_003_mac_h -#define jus_i_b1_003_mac_h - -#define cet_cs_name_jus_i_b1_003_mac "JUS_I.B1.003-mac" - -const char *cet_cs_alias_jus_i_b1_003_mac[] = -{ - "JUS_I.B1.003-mac", "iso-ir-147", "macedonian", NULL -}; - -#define cet_ucs4_ofs_jus_i_b1_003_mac 64 -#define cet_ucs4_cnt_jus_i_b1_003_mac 64 - -const int cet_ucs4_map_jus_i_b1_003_mac[cet_ucs4_cnt_jus_i_b1_003_mac] = -{ - 0x0416, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0408, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x0409, 0x0420, 0x0421, 0x0422, 0x0423, 0x0412, 0x040a, - 0x040f, 0x0405, 0x0417, 0x0428, 0x0403, 0x040c, 0x0427, 0x005f, - 0x0436, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0458, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x0459, 0x0440, 0x0441, 0x0442, 0x0443, 0x0432, 0x045a, - 0x045f, 0x0455, 0x0437, 0x0448, 0x0453, 0x045c, 0x0447, 0x007f -}; - -#define cet_ucs4_to_jus_i_b1_003_mac_ct 62 - -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_003_mac_links[cet_ucs4_to_jus_i_b1_003_mac_ct] = -{ - {0x0403, 0x5c} /* capital letter gje (macedonian) */, - {0x0405, 0x59} /* capital letter dze (macedonian) */, - {0x0408, 0x4a} /* capital letter je */, - {0x0409, 0x51} /* capital letter lje */, - {0x040a, 0x57} /* capital letter nje */, - {0x040c, 0x5d} /* capital letter kje (macedonian) */, - {0x040f, 0x58} /* capital letter dzhe */, - {0x0410, 0x41} /* capital letter a */, - {0x0411, 0x42} /* capital letter be */, - {0x0412, 0x56} /* capital letter ve */, - {0x0413, 0x47} /* capital letter ghe */, - {0x0414, 0x44} /* capital letter de */, - {0x0415, 0x45} /* capital letter ie */, - {0x0416, 0x40} /* capital letter zhe */, - {0x0417, 0x5a} /* capital letter ze */, - {0x0418, 0x49} /* capital letter i */, - {0x041a, 0x4b} /* capital letter ka */, - {0x041b, 0x4c} /* capital letter el */, - {0x041c, 0x4d} /* capital letter em */, - {0x041d, 0x4e} /* capital letter en */, - {0x041e, 0x4f} /* capital letter o */, - {0x041f, 0x50} /* capital letter pe */, - {0x0420, 0x52} /* capital letter er */, - {0x0421, 0x53} /* capital letter es */, - {0x0422, 0x54} /* capital letter te */, - {0x0423, 0x55} /* capital letter u */, - {0x0424, 0x46} /* capital letter ef */, - {0x0425, 0x48} /* capital letter ha */, - {0x0426, 0x43} /* capital letter tse */, - {0x0427, 0x5e} /* capital letter che */, - {0x0428, 0x5b} /* capital letter sha */, - {0x0430, 0x61} /* small letter a */, - {0x0431, 0x62} /* small letter be */, - {0x0432, 0x76} /* small letter ve */, - {0x0433, 0x67} /* small letter ghe */, - {0x0434, 0x64} /* small letter de */, - {0x0435, 0x65} /* small letter ie */, - {0x0436, 0x60} /* small letter zhe */, - {0x0437, 0x7a} /* small letter ze */, - {0x0438, 0x69} /* small letter i */, - {0x043a, 0x6b} /* small letter ka */, - {0x043b, 0x6c} /* small letter el */, - {0x043c, 0x6d} /* small letter em */, - {0x043d, 0x6e} /* small letter en */, - {0x043e, 0x6f} /* small letter o */, - {0x043f, 0x70} /* small letter pe */, - {0x0440, 0x72} /* small letter er */, - {0x0441, 0x73} /* small letter es */, - {0x0442, 0x74} /* small letter te */, - {0x0443, 0x75} /* small letter u */, - {0x0444, 0x66} /* small letter ef */, - {0x0445, 0x68} /* small letter ha */, - {0x0446, 0x63} /* small letter tse */, - {0x0447, 0x7e} /* small letter che */, - {0x0448, 0x7b} /* small letter sha */, - {0x0453, 0x7c} /* small letter gje (macedonian) */, - {0x0455, 0x79} /* small letter dze (macedonian) */, - {0x0458, 0x6a} /* small letter je */, - {0x0459, 0x71} /* small letter lje */, - {0x045a, 0x77} /* small letter nje */, - {0x045c, 0x7d} /* small letter kje (macedonian) */, - {0x045f, 0x78} /* small letter dzhe */ -}; - -/* -#define cet_ucs4_to_jus_i_b1_003_mac_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_003_mac_extra[cet_ucs4_to_jus_i_b1_003_mac_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_jus_i_b1_003_mac = /* defined in cet.h */ -{ - cet_cs_name_jus_i_b1_003_mac, /* name of character set */ - cet_cs_alias_jus_i_b1_003_mac, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_jus_i_b1_003_mac, /* char to UCS-4 value table */ - cet_ucs4_ofs_jus_i_b1_003_mac, /* first non standard character */ - cet_ucs4_cnt_jus_i_b1_003_mac, /* number of values in table */ - - cet_ucs4_to_jus_i_b1_003_mac_links, /* UCS-4 to char links */ - cet_ucs4_to_jus_i_b1_003_mac_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int jus_i_b1_003_mac_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0416, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0408, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x0409, 0x0420, 0x0421, 0x0422, 0x0423, 0x0412, 0x040a, - 0x040f, 0x0405, 0x0417, 0x0428, 0x0403, 0x040c, 0x0427, 0x005f, - 0x0436, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0458, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x0459, 0x0440, 0x0441, 0x0442, 0x0443, 0x0432, 0x045a, - 0x045f, 0x0455, 0x0437, 0x0448, 0x0453, 0x045c, 0x0447, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/jus_i_b1_003_serb.h b/gpsbabel/cet/jus_i_b1_003_serb.h deleted file mode 100644 index 10b81f1ec..000000000 --- a/gpsbabel/cet/jus_i_b1_003_serb.h +++ /dev/null @@ -1,182 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "JUS_I.B1.003-serb" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef jus_i_b1_003_serb_h -#define jus_i_b1_003_serb_h - -#define cet_cs_name_jus_i_b1_003_serb "JUS_I.B1.003-serb" - -const char *cet_cs_alias_jus_i_b1_003_serb[] = -{ - "JUS_I.B1.003-serb", "iso-ir-146", "serbian", NULL -}; - -#define cet_ucs4_ofs_jus_i_b1_003_serb 64 -#define cet_ucs4_cnt_jus_i_b1_003_serb 64 - -const int cet_ucs4_map_jus_i_b1_003_serb[cet_ucs4_cnt_jus_i_b1_003_serb] = -{ - 0x0416, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0408, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x0409, 0x0420, 0x0421, 0x0422, 0x0423, 0x0412, 0x040a, - 0x040f, 0x0405, 0x0417, 0x0428, 0x0402, 0x040b, 0x0427, 0x005f, - 0x0436, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0458, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x0459, 0x0440, 0x0441, 0x0442, 0x0443, 0x0432, 0x045a, - 0x045f, 0x0455, 0x0437, 0x0448, 0x0452, 0x045b, 0x0447, 0x007f -}; - -#define cet_ucs4_to_jus_i_b1_003_serb_ct 62 - -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_003_serb_links[cet_ucs4_to_jus_i_b1_003_serb_ct] = -{ - {0x0402, 0x5c} /* capital letter dje (serbocroatian) */, - {0x0405, 0x59} /* capital letter dze (macedonian) */, - {0x0408, 0x4a} /* capital letter je */, - {0x0409, 0x51} /* capital letter lje */, - {0x040a, 0x57} /* capital letter nje */, - {0x040b, 0x5d} /* capital letter tshe (serbocroatian) */, - {0x040f, 0x58} /* capital letter dzhe */, - {0x0410, 0x41} /* capital letter a */, - {0x0411, 0x42} /* capital letter be */, - {0x0412, 0x56} /* capital letter ve */, - {0x0413, 0x47} /* capital letter ghe */, - {0x0414, 0x44} /* capital letter de */, - {0x0415, 0x45} /* capital letter ie */, - {0x0416, 0x40} /* capital letter zhe */, - {0x0417, 0x5a} /* capital letter ze */, - {0x0418, 0x49} /* capital letter i */, - {0x041a, 0x4b} /* capital letter ka */, - {0x041b, 0x4c} /* capital letter el */, - {0x041c, 0x4d} /* capital letter em */, - {0x041d, 0x4e} /* capital letter en */, - {0x041e, 0x4f} /* capital letter o */, - {0x041f, 0x50} /* capital letter pe */, - {0x0420, 0x52} /* capital letter er */, - {0x0421, 0x53} /* capital letter es */, - {0x0422, 0x54} /* capital letter te */, - {0x0423, 0x55} /* capital letter u */, - {0x0424, 0x46} /* capital letter ef */, - {0x0425, 0x48} /* capital letter ha */, - {0x0426, 0x43} /* capital letter tse */, - {0x0427, 0x5e} /* capital letter che */, - {0x0428, 0x5b} /* capital letter sha */, - {0x0430, 0x61} /* small letter a */, - {0x0431, 0x62} /* small letter be */, - {0x0432, 0x76} /* small letter ve */, - {0x0433, 0x67} /* small letter ghe */, - {0x0434, 0x64} /* small letter de */, - {0x0435, 0x65} /* small letter ie */, - {0x0436, 0x60} /* small letter zhe */, - {0x0437, 0x7a} /* small letter ze */, - {0x0438, 0x69} /* small letter i */, - {0x043a, 0x6b} /* small letter ka */, - {0x043b, 0x6c} /* small letter el */, - {0x043c, 0x6d} /* small letter em */, - {0x043d, 0x6e} /* small letter en */, - {0x043e, 0x6f} /* small letter o */, - {0x043f, 0x70} /* small letter pe */, - {0x0440, 0x72} /* small letter er */, - {0x0441, 0x73} /* small letter es */, - {0x0442, 0x74} /* small letter te */, - {0x0443, 0x75} /* small letter u */, - {0x0444, 0x66} /* small letter ef */, - {0x0445, 0x68} /* small letter ha */, - {0x0446, 0x63} /* small letter tse */, - {0x0447, 0x7e} /* small letter che */, - {0x0448, 0x7b} /* small letter sha */, - {0x0452, 0x7c} /* small letter dje (serbocroatian) */, - {0x0455, 0x79} /* small letter dze (macedonian) */, - {0x0458, 0x6a} /* small letter je */, - {0x0459, 0x71} /* small letter lje */, - {0x045a, 0x77} /* small letter nje */, - {0x045b, 0x7d} /* small letter tshe (serbocroatian) */, - {0x045f, 0x78} /* small letter dzhe */ -}; - -/* -#define cet_ucs4_to_jus_i_b1_003_serb_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_jus_i_b1_003_serb_extra[cet_ucs4_to_jus_i_b1_003_serb_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_jus_i_b1_003_serb = /* defined in cet.h */ -{ - cet_cs_name_jus_i_b1_003_serb, /* name of character set */ - cet_cs_alias_jus_i_b1_003_serb, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_jus_i_b1_003_serb, /* char to UCS-4 value table */ - cet_ucs4_ofs_jus_i_b1_003_serb, /* first non standard character */ - cet_ucs4_cnt_jus_i_b1_003_serb, /* number of values in table */ - - cet_ucs4_to_jus_i_b1_003_serb_links, /* UCS-4 to char links */ - cet_ucs4_to_jus_i_b1_003_serb_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int jus_i_b1_003_serb_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0416, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0408, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x0409, 0x0420, 0x0421, 0x0422, 0x0423, 0x0412, 0x040a, - 0x040f, 0x0405, 0x0417, 0x0428, 0x0402, 0x040b, 0x0427, 0x005f, - 0x0436, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0458, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x0459, 0x0440, 0x0441, 0x0442, 0x0443, 0x0432, 0x045a, - 0x045f, 0x0455, 0x0437, 0x0448, 0x0452, 0x045b, 0x0447, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/keybcs2.h b/gpsbabel/cet/keybcs2.h deleted file mode 100644 index 29b0cbb1b..000000000 --- a/gpsbabel/cet/keybcs2.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KEYBCS2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef keybcs2_h -#define keybcs2_h - -#define cet_cs_name_keybcs2 "KEYBCS2" - -const char *cet_cs_alias_keybcs2[] = -{ - "KEYBCS2", "Kamenicky", NULL -}; - -#define cet_ucs4_ofs_keybcs2 128 -#define cet_ucs4_cnt_keybcs2 128 - -const int cet_ucs4_map_keybcs2[cet_ucs4_cnt_keybcs2] = -{ - 0x010c, 0x00fc, 0x00e9, 0x010f, 0x00e4, 0x010e, 0x0164, 0x010d, - 0x011b, 0x011a, 0x0139, 0x00cd, 0x013e, 0x013a, 0x00c4, 0x00c1, - 0x00c9, 0x017e, 0x017d, 0x00f4, 0x00f6, 0x00d3, 0x016f, 0x00da, - 0x00fd, 0x00d6, 0x00dc, 0x0160, 0x013d, 0x00dd, 0x0158, 0x0165, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x0148, 0x0147, 0x016e, 0x00d4, - 0x0161, 0x0159, 0x0155, 0x0154, 0x00bc, 0x00a7, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x03bc, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2219, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; - -#define cet_ucs4_to_keybcs2_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_keybcs2_links[cet_ucs4_to_keybcs2_ct] = -{ - {0x00a0, 0xff} /* space */, - {0x00a7, 0xad} /* sign */, - {0x00ab, 0xae} /* double angle quotation mark */, - {0x00b1, 0xf1} /* sign */, - {0x00b2, 0xfd} /* two */, - {0x00b7, 0xf9} /* dot */, - {0x00bb, 0xaf} /* double angle quotation mark */, - {0x00bc, 0xac} /* fraction one quarter */, - {0x00c1, 0x8f} /* capital letter a with acute */, - {0x00c4, 0x8e} /* capital letter a with diaeresis */, - {0x00c9, 0x90} /* capital letter e with acute */, - {0x00cd, 0x8b} /* capital letter i with acute */, - {0x00d3, 0x95} /* capital letter o with acute */, - {0x00d4, 0xa7} /* capital letter o with circumflex */, - {0x00d6, 0x99} /* capital letter o with diaeresis */, - {0x00da, 0x97} /* capital letter u with acute */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00dd, 0x9d} /* capital letter y with acute */, - {0x00e1, 0xa0} /* small letter a with acute */, - {0x00e4, 0x84} /* small letter a with diaeresis */, - {0x00e9, 0x82} /* small letter e with acute */, - {0x00ed, 0xa1} /* small letter i with acute */, - {0x00f3, 0xa2} /* small letter o with acute */, - {0x00f4, 0x93} /* small letter o with circumflex */, - {0x00f6, 0x94} /* small letter o with diaeresis */, - {0x00f7, 0xf6} /* sign */, - {0x00fa, 0xa3} /* small letter u with acute */, - {0x00fc, 0x81} /* small letter u with diaeresis */, - {0x00fd, 0x98} /* small letter y with acute */, - {0x010c, 0x80} /* capital letter c with caron */, - {0x010d, 0x87} /* small letter c with caron */, - {0x010e, 0x85} /* capital letter d with caron */, - {0x010f, 0x83} /* small letter d with caron */, - {0x011a, 0x89} /* capital letter e with caron */, - {0x011b, 0x88} /* small letter e with caron */, - {0x0139, 0x8a} /* capital letter l with acute */, - {0x013a, 0x8d} /* small letter l with acute */, - {0x013d, 0x9c} /* capital letter l with caron */, - {0x013e, 0x8c} /* small letter l with caron */, - {0x0147, 0xa5} /* capital letter n with caron */, - {0x0148, 0xa4} /* small letter n with caron */, - {0x0154, 0xab} /* capital letter r with acute */, - {0x0155, 0xaa} /* small letter r with acute */, - {0x0158, 0x9e} /* capital letter r with caron */, - {0x0159, 0xa9} /* small letter r with caron */, - {0x0160, 0x9b} /* capital letter s with caron */, - {0x0161, 0xa8} /* small letter s with caron */, - {0x0164, 0x86} /* capital letter t with caron */, - {0x0165, 0x9f} /* small letter t with caron */, - {0x016e, 0xa6} /* capital letter u with ring above */, - {0x016f, 0x96} /* small letter u with ring above */, - {0x017d, 0x92} /* capital letter z with caron */, - {0x017e, 0x91} /* small letter z with caron */, - {0x0393, 0xe2} /* capital letter gamma */, - {0x0398, 0xe9} /* capital letter theta */, - {0x03a3, 0xe4} /* capital letter sigma */, - {0x03a6, 0xe8} /* capital letter phi */, - {0x03a9, 0xea} /* capital letter omega */, - {0x03b1, 0xe0} /* small letter alpha */, - {0x03b2, 0xe1} /* small letter beta */, - {0x03b4, 0xeb} /* small letter delta */, - {0x03b5, 0xee} /* small letter epsilon */, - {0x03bc, 0xe6} /* small letter mu */, - {0x03c0, 0xe3} /* small letter pi */, - {0x03c3, 0xe5} /* small letter sigma */, - {0x03c4, 0xe7} /* small letter tau */, - {0x207f, 0xfc} /* latin small letter n */, - {0x2205, 0xed} /* set */, - {0x2218, 0xf8} /* operator */, - {0x2219, 0xfa} /* operator */, - {0x221a, 0xfb} /* root */, - {0x221e, 0xec} /* infinity */, - {0x2229, 0xef} /* intersection */, - {0x2248, 0xf7} /* equal to */, - {0x2261, 0xf0} /* to */, - {0x2264, 0xf3} /* or equal to */, - {0x2265, 0xf2} /* or equal to */, - {0x2320, 0xf4} /* half integral */, - {0x2321, 0xf5} /* half integral */, - {0x2500, 0xc4} /* drawings light horizontal */, - {0x2502, 0xb3} /* drawings light vertical */, - {0x250c, 0xda} /* drawings light down and right */, - {0x2510, 0xbf} /* drawings light down and left */, - {0x2514, 0xc0} /* drawings light up and right */, - {0x2518, 0xd9} /* drawings light up and left */, - {0x251c, 0xc3} /* drawings light vertical and right */, - {0x2524, 0xb4} /* drawings light vertical and left */, - {0x252c, 0xc2} /* drawings light down and horizontal */, - {0x2534, 0xc1} /* drawings light up and horizontal */, - {0x253c, 0xc5} /* drawings light vertical and horizontal */, - {0x2550, 0xcd} /* drawings heavy horizontal */, - {0x2551, 0xba} /* drawings heavy vertical */, - {0x2552, 0xd5} /* drawings down light and right heavy */, - {0x2553, 0xd6} /* drawings down heavy and right light */, - {0x2554, 0xc9} /* drawings heavy down and right */, - {0x2555, 0xb8} /* drawings down light and left heavy */, - {0x2556, 0xb7} /* drawings down heavy and left light */, - {0x2557, 0xbb} /* drawings heavy down and left */, - {0x2558, 0xd4} /* drawings up light and right heavy */, - {0x2559, 0xd3} /* drawings up heavy and right light */, - {0x255a, 0xc8} /* drawings heavy up and right */, - {0x255b, 0xbe} /* drawings up light and left heavy */, - {0x255c, 0xbd} /* drawings up heavy and left light */, - {0x255d, 0xbc} /* drawings heavy up and left */, - {0x255e, 0xc6} /* drawings vertical light and right heavy */, - {0x255f, 0xc7} /* drawings vertical heavy and right light */, - {0x2560, 0xcc} /* drawings heavy vertical and right */, - {0x2561, 0xb5} /* drawings vertical light and left heavy */, - {0x2562, 0xb6} /* drawings vertical heavy and left light */, - {0x2563, 0xb9} /* drawings heavy vertical and left */, - {0x2564, 0xd1} /* drawings down light and horizontal heavy */, - {0x2565, 0xd2} /* drawings down heavy and horizontal light */, - {0x2566, 0xcb} /* drawings heavy down and horizontal */, - {0x2567, 0xcf} /* drawings up light and horizontal heavy */, - {0x2568, 0xd0} /* drawings up heavy and horizontal light */, - {0x2569, 0xca} /* drawings heavy up and horizontal */, - {0x256a, 0xd8} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xd7} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xce} /* drawings heavy vertical and horizontal */, - {0x2580, 0xdf} /* half block */, - {0x2584, 0xdc} /* half block */, - {0x2588, 0xdb} /* block */, - {0x258c, 0xdd} /* half block */, - {0x2590, 0xde} /* half block */, - {0x2591, 0xb0} /* shade */, - {0x2592, 0xb1} /* shade */, - {0x2593, 0xb2} /* shade */, - {0x25a0, 0xfe} /* square */ -}; - -/* -#define cet_ucs4_to_keybcs2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_keybcs2_extra[cet_ucs4_to_keybcs2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_keybcs2 = /* defined in cet.h */ -{ - cet_cs_name_keybcs2, /* name of character set */ - cet_cs_alias_keybcs2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_keybcs2, /* char to UCS-4 value table */ - cet_ucs4_ofs_keybcs2, /* first non standard character */ - cet_ucs4_cnt_keybcs2, /* number of values in table */ - - cet_ucs4_to_keybcs2_links, /* UCS-4 to char links */ - cet_ucs4_to_keybcs2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int keybcs2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x010c, 0x00fc, 0x00e9, 0x010f, 0x00e4, 0x010e, 0x0164, 0x010d, - 0x011b, 0x011a, 0x0139, 0x00cd, 0x013e, 0x013a, 0x00c4, 0x00c1, - 0x00c9, 0x017e, 0x017d, 0x00f4, 0x00f6, 0x00d3, 0x016f, 0x00da, - 0x00fd, 0x00d6, 0x00dc, 0x0160, 0x013d, 0x00dd, 0x0158, 0x0165, - 0x00e1, 0x00ed, 0x00f3, 0x00fa, 0x0148, 0x0147, 0x016e, 0x00d4, - 0x0161, 0x0159, 0x0155, 0x0154, 0x00bc, 0x00a7, 0x00ab, 0x00bb, - 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, - 0x2555, 0x2563, 0x2551, 0x2557, 0x255d, 0x255c, 0x255b, 0x2510, - 0x2514, 0x2534, 0x252c, 0x251c, 0x2500, 0x253c, 0x255e, 0x255f, - 0x255a, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256c, 0x2567, - 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256b, - 0x256a, 0x2518, 0x250c, 0x2588, 0x2584, 0x258c, 0x2590, 0x2580, - 0x03b1, 0x03b2, 0x0393, 0x03c0, 0x03a3, 0x03c3, 0x03bc, 0x03c4, - 0x03a6, 0x0398, 0x03a9, 0x03b4, 0x221e, 0x2205, 0x03b5, 0x2229, - 0x2261, 0x00b1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00f7, 0x2248, - 0x2218, 0x00b7, 0x2219, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi8_r.h b/gpsbabel/cet/koi8_r.h deleted file mode 100644 index 36f63e453..000000000 --- a/gpsbabel/cet/koi8_r.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI8-R" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi8_r_h -#define koi8_r_h - -#define cet_cs_name_koi8_r "KOI8-R" - -const char *cet_cs_alias_koi8_r[] = -{ - "KOI8-R", "csKOI8R", NULL -}; - -#define cet_ucs4_ofs_koi8_r 128 -#define cet_ucs4_cnt_koi8_r 128 - -const int cet_ucs4_map_koi8_r[cet_ucs4_cnt_koi8_r] = -{ - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x2320, 0x25a0, 0x2022, 0x221a, 0x2248, - 0x2264, 0x2265, 0x00a0, 0x2321, 0x00b0, 0x00b2, 0x00b7, 0x00f7, - 0x2550, 0x2551, 0x2552, 0x0451, 0x2553, 0x2554, 0x2555, 0x2556, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x255c, 0x255d, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x2562, 0x2563, 0x2564, 0x2565, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x256b, 0x256c, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; - -#define cet_ucs4_to_koi8_r_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_koi8_r_links[cet_ucs4_to_koi8_r_ct] = -{ - {0x00a0, 0x9a} /* space */, - {0x00a9, 0xbf} /* sign */, - {0x00b0, 0x9c} /* sign */, - {0x00b2, 0x9d} /* two */, - {0x00b7, 0x9e} /* dot */, - {0x00f7, 0x9f} /* sign */, - {0x0401, 0xb3} /* capital letter io */, - {0x0410, 0xe1} /* capital letter a */, - {0x0411, 0xe2} /* capital letter be */, - {0x0412, 0xf7} /* capital letter ve */, - {0x0413, 0xe7} /* capital letter ghe */, - {0x0414, 0xe4} /* capital letter de */, - {0x0415, 0xe5} /* capital letter ie */, - {0x0416, 0xf6} /* capital letter zhe */, - {0x0417, 0xfa} /* capital letter ze */, - {0x0418, 0xe9} /* capital letter i */, - {0x0419, 0xea} /* capital letter short i */, - {0x041a, 0xeb} /* capital letter ka */, - {0x041b, 0xec} /* capital letter el */, - {0x041c, 0xed} /* capital letter em */, - {0x041d, 0xee} /* capital letter en */, - {0x041e, 0xef} /* capital letter o */, - {0x041f, 0xf0} /* capital letter pe */, - {0x0420, 0xf2} /* capital letter er */, - {0x0421, 0xf3} /* capital letter es */, - {0x0422, 0xf4} /* capital letter te */, - {0x0423, 0xf5} /* capital letter u */, - {0x0424, 0xe6} /* capital letter ef */, - {0x0425, 0xe8} /* capital letter ha */, - {0x0426, 0xe3} /* capital letter tse */, - {0x0427, 0xfe} /* capital letter che */, - {0x0428, 0xfb} /* capital letter sha */, - {0x0429, 0xfd} /* capital letter shcha */, - {0x042a, 0xff} /* capital letter hard sign */, - {0x042b, 0xf9} /* capital letter yeru */, - {0x042c, 0xf8} /* capital letter soft sign */, - {0x042d, 0xfc} /* capital letter e */, - {0x042e, 0xe0} /* capital letter yu */, - {0x042f, 0xf1} /* capital letter ya */, - {0x0430, 0xc1} /* small letter a */, - {0x0431, 0xc2} /* small letter be */, - {0x0432, 0xd7} /* small letter ve */, - {0x0433, 0xc7} /* small letter ghe */, - {0x0434, 0xc4} /* small letter de */, - {0x0435, 0xc5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xda} /* small letter ze */, - {0x0438, 0xc9} /* small letter i */, - {0x0439, 0xca} /* small letter short i */, - {0x043a, 0xcb} /* small letter ka */, - {0x043b, 0xcc} /* small letter el */, - {0x043c, 0xcd} /* small letter em */, - {0x043d, 0xce} /* small letter en */, - {0x043e, 0xcf} /* small letter o */, - {0x043f, 0xd0} /* small letter pe */, - {0x0440, 0xd2} /* small letter er */, - {0x0441, 0xd3} /* small letter es */, - {0x0442, 0xd4} /* small letter te */, - {0x0443, 0xd5} /* small letter u */, - {0x0444, 0xc6} /* small letter ef */, - {0x0445, 0xc8} /* small letter ha */, - {0x0446, 0xc3} /* small letter tse */, - {0x0447, 0xde} /* small letter che */, - {0x0448, 0xdb} /* small letter sha */, - {0x0449, 0xdd} /* small letter shcha */, - {0x044a, 0xdf} /* small letter hard sign */, - {0x044b, 0xd9} /* small letter yeru */, - {0x044c, 0xd8} /* small letter soft sign */, - {0x044d, 0xdc} /* small letter e */, - {0x044e, 0xc0} /* small letter yu */, - {0x044f, 0xd1} /* small letter ya */, - {0x0451, 0xa3} /* small letter io */, - {0x2022, 0x95} /* puce */, - {0x221a, 0x96} /* root */, - {0x2248, 0x97} /* equal to */, - {0x2264, 0x98} /* or equal to */, - {0x2265, 0x99} /* or equal to */, - {0x2320, 0x93} /* half integral */, - {0x2321, 0x9b} /* half integral */, - {0x2500, 0x80} /* drawings light horizontal */, - {0x2502, 0x81} /* drawings light vertical */, - {0x250c, 0x82} /* drawings light down and right */, - {0x2510, 0x83} /* drawings light down and left */, - {0x2514, 0x84} /* drawings light up and right */, - {0x2518, 0x85} /* drawings light up and left */, - {0x251c, 0x86} /* drawings light vertical and right */, - {0x2524, 0x87} /* drawings light vertical and left */, - {0x252c, 0x88} /* drawings light down and horizontal */, - {0x2534, 0x89} /* drawings light up and horizontal */, - {0x253c, 0x8a} /* drawings light vertical and horizontal */, - {0x2550, 0xa0} /* drawings heavy horizontal */, - {0x2551, 0xa1} /* drawings heavy vertical */, - {0x2552, 0xa2} /* drawings down light and right heavy */, - {0x2553, 0xa4} /* drawings down heavy and right light */, - {0x2554, 0xa5} /* drawings heavy down and right */, - {0x2555, 0xa6} /* drawings down light and left heavy */, - {0x2556, 0xa7} /* drawings down heavy and left light */, - {0x2557, 0xa8} /* drawings heavy down and left */, - {0x2558, 0xa9} /* drawings up light and right heavy */, - {0x2559, 0xaa} /* drawings up heavy and right light */, - {0x255a, 0xab} /* drawings heavy up and right */, - {0x255b, 0xac} /* drawings up light and left heavy */, - {0x255c, 0xad} /* drawings up heavy and left light */, - {0x255d, 0xae} /* drawings heavy up and left */, - {0x255e, 0xaf} /* drawings vertical light and right heavy */, - {0x255f, 0xb0} /* drawings vertical heavy and right light */, - {0x2560, 0xb1} /* drawings heavy vertical and right */, - {0x2561, 0xb2} /* drawings vertical light and left heavy */, - {0x2562, 0xb4} /* drawings vertical heavy and left light */, - {0x2563, 0xb5} /* drawings heavy vertical and left */, - {0x2564, 0xb6} /* drawings down light and horizontal heavy */, - {0x2565, 0xb7} /* drawings down heavy and horizontal light */, - {0x2566, 0xb8} /* drawings heavy down and horizontal */, - {0x2567, 0xb9} /* drawings up light and horizontal heavy */, - {0x2568, 0xba} /* drawings up heavy and horizontal light */, - {0x2569, 0xbb} /* drawings heavy up and horizontal */, - {0x256a, 0xbc} /* drawings vertical light and horizontal heavy */, - {0x256b, 0xbd} /* drawings vertical heavy and horizontal light */, - {0x256c, 0xbe} /* drawings heavy vertical and horizontal */, - {0x2580, 0x8b} /* half block */, - {0x2584, 0x8c} /* half block */, - {0x2588, 0x8d} /* block */, - {0x258c, 0x8e} /* half block */, - {0x2590, 0x8f} /* half block */, - {0x2591, 0x90} /* shade */, - {0x2592, 0x91} /* shade */, - {0x2593, 0x92} /* shade */, - {0x25a0, 0x94} /* square */ -}; - -/* -#define cet_ucs4_to_koi8_r_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi8_r_extra[cet_ucs4_to_koi8_r_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi8_r = /* defined in cet.h */ -{ - cet_cs_name_koi8_r, /* name of character set */ - cet_cs_alias_koi8_r, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi8_r, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi8_r, /* first non standard character */ - cet_ucs4_cnt_koi8_r, /* number of values in table */ - - cet_ucs4_to_koi8_r_links, /* UCS-4 to char links */ - cet_ucs4_to_koi8_r_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi8_r_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x2320, 0x25a0, 0x2022, 0x221a, 0x2248, - 0x2264, 0x2265, 0x00a0, 0x2321, 0x00b0, 0x00b2, 0x00b7, 0x00f7, - 0x2550, 0x2551, 0x2552, 0x0451, 0x2553, 0x2554, 0x2555, 0x2556, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x255c, 0x255d, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x2562, 0x2563, 0x2564, 0x2565, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x256b, 0x256c, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi8_ru.h b/gpsbabel/cet/koi8_ru.h deleted file mode 100644 index 7800847bc..000000000 --- a/gpsbabel/cet/koi8_ru.h +++ /dev/null @@ -1,256 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI8-RU" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi8_ru_h -#define koi8_ru_h - -#define cet_cs_name_koi8_ru "KOI8-RU" - -const char *cet_cs_alias_koi8_ru[] = -{ - "KOI8-RU", NULL -}; - -#define cet_ucs4_ofs_koi8_ru 128 -#define cet_ucs4_cnt_koi8_ru 128 - -const int cet_ucs4_map_koi8_ru[cet_ucs4_cnt_koi8_ru] = -{ - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x201c, 0x25a0, 0x2022, 0x201d, 0x2014, - 0x2116, 0x2122, 0x00a0, 0x00bb, 0x00ae, 0x00ab, 0x00b7, 0x00a4, - 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x0491, 0x045e, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x0490, 0x040e, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; - -#define cet_ucs4_to_koi8_ru_ct 128 - -const cet_ucs4_link_t cet_ucs4_to_koi8_ru_links[cet_ucs4_to_koi8_ru_ct] = -{ - {0x00a0, 0x9a} /* space */, - {0x00a4, 0x9f} /* sign */, - {0x00a9, 0xbf} /* sign */, - {0x00ab, 0x9d} /* double angle quotation mark */, - {0x00ae, 0x9c} /* sign */, - {0x00b7, 0x9e} /* dot */, - {0x00bb, 0x9b} /* double angle quotation mark */, - {0x0401, 0xb3} /* capital letter io */, - {0x0404, 0xb4} /* capital letter ukrainian ie */, - {0x0406, 0xb6} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0xb7} /* capital letter yi (ukrainian) */, - {0x040e, 0xbe} /* capital letter short u (byelorussian) */, - {0x0410, 0xe1} /* capital letter a */, - {0x0411, 0xe2} /* capital letter be */, - {0x0412, 0xf7} /* capital letter ve */, - {0x0413, 0xe7} /* capital letter ghe */, - {0x0414, 0xe4} /* capital letter de */, - {0x0415, 0xe5} /* capital letter ie */, - {0x0416, 0xf6} /* capital letter zhe */, - {0x0417, 0xfa} /* capital letter ze */, - {0x0418, 0xe9} /* capital letter i */, - {0x0419, 0xea} /* capital letter short i */, - {0x041a, 0xeb} /* capital letter ka */, - {0x041b, 0xec} /* capital letter el */, - {0x041c, 0xed} /* capital letter em */, - {0x041d, 0xee} /* capital letter en */, - {0x041e, 0xef} /* capital letter o */, - {0x041f, 0xf0} /* capital letter pe */, - {0x0420, 0xf2} /* capital letter er */, - {0x0421, 0xf3} /* capital letter es */, - {0x0422, 0xf4} /* capital letter te */, - {0x0423, 0xf5} /* capital letter u */, - {0x0424, 0xe6} /* capital letter ef */, - {0x0425, 0xe8} /* capital letter ha */, - {0x0426, 0xe3} /* capital letter tse */, - {0x0427, 0xfe} /* capital letter che */, - {0x0428, 0xfb} /* capital letter sha */, - {0x0429, 0xfd} /* capital letter shcha */, - {0x042a, 0xff} /* capital letter hard sign */, - {0x042b, 0xf9} /* capital letter yeru */, - {0x042c, 0xf8} /* capital letter soft sign */, - {0x042d, 0xfc} /* capital letter e */, - {0x042e, 0xe0} /* capital letter yu */, - {0x042f, 0xf1} /* capital letter ya */, - {0x0430, 0xc1} /* small letter a */, - {0x0431, 0xc2} /* small letter be */, - {0x0432, 0xd7} /* small letter ve */, - {0x0433, 0xc7} /* small letter ghe */, - {0x0434, 0xc4} /* small letter de */, - {0x0435, 0xc5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xda} /* small letter ze */, - {0x0438, 0xc9} /* small letter i */, - {0x0439, 0xca} /* small letter short i */, - {0x043a, 0xcb} /* small letter ka */, - {0x043b, 0xcc} /* small letter el */, - {0x043c, 0xcd} /* small letter em */, - {0x043d, 0xce} /* small letter en */, - {0x043e, 0xcf} /* small letter o */, - {0x043f, 0xd0} /* small letter pe */, - {0x0440, 0xd2} /* small letter er */, - {0x0441, 0xd3} /* small letter es */, - {0x0442, 0xd4} /* small letter te */, - {0x0443, 0xd5} /* small letter u */, - {0x0444, 0xc6} /* small letter ef */, - {0x0445, 0xc8} /* small letter ha */, - {0x0446, 0xc3} /* small letter tse */, - {0x0447, 0xde} /* small letter che */, - {0x0448, 0xdb} /* small letter sha */, - {0x0449, 0xdd} /* small letter shcha */, - {0x044a, 0xdf} /* small letter hard sign */, - {0x044b, 0xd9} /* small letter yeru */, - {0x044c, 0xd8} /* small letter soft sign */, - {0x044d, 0xdc} /* small letter e */, - {0x044e, 0xc0} /* small letter yu */, - {0x044f, 0xd1} /* small letter ya */, - {0x0451, 0xa3} /* small letter io */, - {0x0454, 0xa4} /* small letter ukrainian ie */, - {0x0456, 0xa6} /* small letter byelorussian-ukrainian i */, - {0x0457, 0xa7} /* small letter yi (ukrainian) */, - {0x045e, 0xae} /* small letter short u (byelorussian) */, - {0x0490, 0xbd} /* capital letter ghe with upturn */, - {0x0491, 0xad} /* small letter ghe with upturn */, - {0x2014, 0x97} /* dash */, - {0x201c, 0x93} /* double quotation mark */, - {0x201d, 0x96} /* double quotation mark */, - {0x2022, 0x95} /* puce */, - {0x2116, 0x98} /* sign */, - {0x2122, 0x99} /* mark sign */, - {0x2500, 0x80} /* drawings light horizontal */, - {0x2502, 0x81} /* drawings light vertical */, - {0x250c, 0x82} /* drawings light down and right */, - {0x2510, 0x83} /* drawings light down and left */, - {0x2514, 0x84} /* drawings light up and right */, - {0x2518, 0x85} /* drawings light up and left */, - {0x251c, 0x86} /* drawings light vertical and right */, - {0x2524, 0x87} /* drawings light vertical and left */, - {0x252c, 0x88} /* drawings light down and horizontal */, - {0x2534, 0x89} /* drawings light up and horizontal */, - {0x253c, 0x8a} /* drawings light vertical and horizontal */, - {0x2550, 0xa0} /* drawings heavy horizontal */, - {0x2551, 0xa1} /* drawings heavy vertical */, - {0x2552, 0xa2} /* drawings down light and right heavy */, - {0x2554, 0xa5} /* drawings heavy down and right */, - {0x2557, 0xa8} /* drawings heavy down and left */, - {0x2558, 0xa9} /* drawings up light and right heavy */, - {0x2559, 0xaa} /* drawings up heavy and right light */, - {0x255a, 0xab} /* drawings heavy up and right */, - {0x255b, 0xac} /* drawings up light and left heavy */, - {0x255e, 0xaf} /* drawings vertical light and right heavy */, - {0x255f, 0xb0} /* drawings vertical heavy and right light */, - {0x2560, 0xb1} /* drawings heavy vertical and right */, - {0x2561, 0xb2} /* drawings vertical light and left heavy */, - {0x2563, 0xb5} /* drawings heavy vertical and left */, - {0x2566, 0xb8} /* drawings heavy down and horizontal */, - {0x2567, 0xb9} /* drawings up light and horizontal heavy */, - {0x2568, 0xba} /* drawings up heavy and horizontal light */, - {0x2569, 0xbb} /* drawings heavy up and horizontal */, - {0x256a, 0xbc} /* drawings vertical light and horizontal heavy */, - {0x2580, 0x8b} /* half block */, - {0x2584, 0x8c} /* half block */, - {0x2588, 0x8d} /* block */, - {0x258c, 0x8e} /* half block */, - {0x2590, 0x8f} /* half block */, - {0x2591, 0x90} /* shade */, - {0x2592, 0x91} /* shade */, - {0x2593, 0x92} /* shade */, - {0x25a0, 0x94} /* square */ -}; - -/* -#define cet_ucs4_to_koi8_ru_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi8_ru_extra[cet_ucs4_to_koi8_ru_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi8_ru = /* defined in cet.h */ -{ - cet_cs_name_koi8_ru, /* name of character set */ - cet_cs_alias_koi8_ru, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi8_ru, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi8_ru, /* first non standard character */ - cet_ucs4_cnt_koi8_ru, /* number of values in table */ - - cet_ucs4_to_koi8_ru_links, /* UCS-4 to char links */ - cet_ucs4_to_koi8_ru_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi8_ru_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x201c, 0x25a0, 0x2022, 0x201d, 0x2014, - 0x2116, 0x2122, 0x00a0, 0x00bb, 0x00ae, 0x00ab, 0x00b7, 0x00a4, - 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x0491, 0x045e, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x0490, 0x040e, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi8_u.h b/gpsbabel/cet/koi8_u.h deleted file mode 100644 index 1f3d88cfc..000000000 --- a/gpsbabel/cet/koi8_u.h +++ /dev/null @@ -1,238 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI8-U" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi8_u_h -#define koi8_u_h - -#define cet_cs_name_koi8_u "KOI8-U" - -const char *cet_cs_alias_koi8_u[] = -{ - "KOI8-U", NULL -}; - -#define cet_ucs4_ofs_koi8_u 128 -#define cet_ucs4_cnt_koi8_u 112 - -const int cet_ucs4_map_koi8_u[cet_ucs4_cnt_koi8_u] = -{ - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x2320, 0x25a0, 0x2219, 0x221a, 0x2248, - 0x2264, 0x2265, 0x00a0, 0x2321, 0x00b0, 0x00b2, 0x00b7, 0x00f7, - 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x0491, 0x255d, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x0490, 0x256c, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e -}; - -#define cet_ucs4_to_koi8_u_ct 112 - -const cet_ucs4_link_t cet_ucs4_to_koi8_u_links[cet_ucs4_to_koi8_u_ct] = -{ - {0x00a0, 0x9a} /* space */, - {0x00a9, 0xbf} /* sign */, - {0x00b0, 0x9c} /* sign */, - {0x00b2, 0x9d} /* two */, - {0x00b7, 0x9e} /* dot */, - {0x00f7, 0x9f} /* sign */, - {0x0401, 0xb3} /* capital letter io */, - {0x0404, 0xb4} /* capital letter ukrainian ie */, - {0x0406, 0xb6} /* capital letter byelorussian-ukrainian i */, - {0x0407, 0xb7} /* capital letter yi (ukrainian) */, - {0x0410, 0xe1} /* capital letter a */, - {0x0411, 0xe2} /* capital letter be */, - {0x0413, 0xe7} /* capital letter ghe */, - {0x0414, 0xe4} /* capital letter de */, - {0x0415, 0xe5} /* capital letter ie */, - {0x0418, 0xe9} /* capital letter i */, - {0x0419, 0xea} /* capital letter short i */, - {0x041a, 0xeb} /* capital letter ka */, - {0x041b, 0xec} /* capital letter el */, - {0x041c, 0xed} /* capital letter em */, - {0x041d, 0xee} /* capital letter en */, - {0x041e, 0xef} /* capital letter o */, - {0x0424, 0xe6} /* capital letter ef */, - {0x0425, 0xe8} /* capital letter ha */, - {0x0426, 0xe3} /* capital letter tse */, - {0x042e, 0xe0} /* capital letter yu */, - {0x0430, 0xc1} /* small letter a */, - {0x0431, 0xc2} /* small letter be */, - {0x0432, 0xd7} /* small letter ve */, - {0x0433, 0xc7} /* small letter ghe */, - {0x0434, 0xc4} /* small letter de */, - {0x0435, 0xc5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xda} /* small letter ze */, - {0x0438, 0xc9} /* small letter i */, - {0x0439, 0xca} /* small letter short i */, - {0x043a, 0xcb} /* small letter ka */, - {0x043b, 0xcc} /* small letter el */, - {0x043c, 0xcd} /* small letter em */, - {0x043d, 0xce} /* small letter en */, - {0x043e, 0xcf} /* small letter o */, - {0x043f, 0xd0} /* small letter pe */, - {0x0440, 0xd2} /* small letter er */, - {0x0441, 0xd3} /* small letter es */, - {0x0442, 0xd4} /* small letter te */, - {0x0443, 0xd5} /* small letter u */, - {0x0444, 0xc6} /* small letter ef */, - {0x0445, 0xc8} /* small letter ha */, - {0x0446, 0xc3} /* small letter tse */, - {0x0447, 0xde} /* small letter che */, - {0x0448, 0xdb} /* small letter sha */, - {0x0449, 0xdd} /* small letter shcha */, - {0x044a, 0xdf} /* small letter hard sign */, - {0x044b, 0xd9} /* small letter yeru */, - {0x044c, 0xd8} /* small letter soft sign */, - {0x044d, 0xdc} /* small letter e */, - {0x044e, 0xc0} /* small letter yu */, - {0x044f, 0xd1} /* small letter ya */, - {0x0451, 0xa3} /* small letter io */, - {0x0454, 0xa4} /* small letter ukrainian ie */, - {0x0456, 0xa6} /* small letter byelorussian-ukrainian i */, - {0x0457, 0xa7} /* small letter yi (ukrainian) */, - {0x0490, 0xbd} /* capital letter ghe with upturn */, - {0x0491, 0xad} /* small letter ghe with upturn */, - {0x2219, 0x95} /* operator */, - {0x221a, 0x96} /* root */, - {0x2248, 0x97} /* equal to */, - {0x2264, 0x98} /* or equal to */, - {0x2265, 0x99} /* or equal to */, - {0x2320, 0x93} /* half integral */, - {0x2321, 0x9b} /* half integral */, - {0x2500, 0x80} /* drawings light horizontal */, - {0x2502, 0x81} /* drawings light vertical */, - {0x250c, 0x82} /* drawings light down and right */, - {0x2510, 0x83} /* drawings light down and left */, - {0x2514, 0x84} /* drawings light up and right */, - {0x2518, 0x85} /* drawings light up and left */, - {0x251c, 0x86} /* drawings light vertical and right */, - {0x2524, 0x87} /* drawings light vertical and left */, - {0x252c, 0x88} /* drawings light down and horizontal */, - {0x2534, 0x89} /* drawings light up and horizontal */, - {0x253c, 0x8a} /* drawings light vertical and horizontal */, - {0x2550, 0xa0} /* drawings heavy horizontal */, - {0x2551, 0xa1} /* drawings heavy vertical */, - {0x2552, 0xa2} /* drawings down light and right heavy */, - {0x2554, 0xa5} /* drawings heavy down and right */, - {0x2557, 0xa8} /* drawings heavy down and left */, - {0x2558, 0xa9} /* drawings up light and right heavy */, - {0x2559, 0xaa} /* drawings up heavy and right light */, - {0x255a, 0xab} /* drawings heavy up and right */, - {0x255b, 0xac} /* drawings up light and left heavy */, - {0x255d, 0xae} /* drawings heavy up and left */, - {0x255e, 0xaf} /* drawings vertical light and right heavy */, - {0x255f, 0xb0} /* drawings vertical heavy and right light */, - {0x2560, 0xb1} /* drawings heavy vertical and right */, - {0x2561, 0xb2} /* drawings vertical light and left heavy */, - {0x2563, 0xb5} /* drawings heavy vertical and left */, - {0x2566, 0xb8} /* drawings heavy down and horizontal */, - {0x2567, 0xb9} /* drawings up light and horizontal heavy */, - {0x2568, 0xba} /* drawings up heavy and horizontal light */, - {0x2569, 0xbb} /* drawings heavy up and horizontal */, - {0x256a, 0xbc} /* drawings vertical light and horizontal heavy */, - {0x256c, 0xbe} /* drawings heavy vertical and horizontal */, - {0x2580, 0x8b} /* half block */, - {0x2584, 0x8c} /* half block */, - {0x2588, 0x8d} /* block */, - {0x258c, 0x8e} /* half block */, - {0x2590, 0x8f} /* half block */, - {0x2591, 0x90} /* shade */, - {0x2592, 0x91} /* shade */, - {0x2593, 0x92} /* shade */, - {0x25a0, 0x94} /* square */ -}; - -/* -#define cet_ucs4_to_koi8_u_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi8_u_extra[cet_ucs4_to_koi8_u_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi8_u = /* defined in cet.h */ -{ - cet_cs_name_koi8_u, /* name of character set */ - cet_cs_alias_koi8_u, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi8_u, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi8_u, /* first non standard character */ - cet_ucs4_cnt_koi8_u, /* number of values in table */ - - cet_ucs4_to_koi8_u_links, /* UCS-4 to char links */ - cet_ucs4_to_koi8_u_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi8_u_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x2500, 0x2502, 0x250c, 0x2510, 0x2514, 0x2518, 0x251c, 0x2524, - 0x252c, 0x2534, 0x253c, 0x2580, 0x2584, 0x2588, 0x258c, 0x2590, - 0x2591, 0x2592, 0x2593, 0x2320, 0x25a0, 0x2219, 0x221a, 0x2248, - 0x2264, 0x2265, 0x00a0, 0x2321, 0x00b0, 0x00b2, 0x00b7, 0x00f7, - 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, - 0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x0491, 0x255d, 0x255e, - 0x255f, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, - 0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x0490, 0x256c, 0x00a9, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi_7.h b/gpsbabel/cet/koi_7.h deleted file mode 100644 index 7e94ce3cb..000000000 --- a/gpsbabel/cet/koi_7.h +++ /dev/null @@ -1,156 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI-7" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi_7_h -#define koi_7_h - -#define cet_cs_name_koi_7 "KOI-7" - -const char *cet_cs_alias_koi_7[] = -{ - "KOI-7", NULL -}; - -#define cet_ucs4_ofs_koi_7 36 -#define cet_ucs4_cnt_koi_7 92 - -const int cet_ucs4_map_koi_7[cet_ucs4_cnt_koi_7] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x042e, 0x0410, 0x0411, 0x0426, - 0x0414, 0x0415, 0x0424, 0x0413, 0x0425, 0x0418, 0x0419, 0x041a, - 0x041b, 0x041c, 0x041d, 0x041e, 0x041f, 0x042f, 0x0420, 0x0421, - 0x0422, 0x0423, 0x0416, 0x0412, 0x042c, 0x042b, 0x0417, 0x0428, - 0x042d, 0x0429, 0x0427, 0x007f -}; - -#define cet_ucs4_to_koi_7_ct 32 - -const cet_ucs4_link_t cet_ucs4_to_koi_7_links[cet_ucs4_to_koi_7_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x0410, 0x61} /* capital letter a */, - {0x0411, 0x62} /* capital letter be */, - {0x0412, 0x77} /* capital letter ve */, - {0x0413, 0x67} /* capital letter ghe */, - {0x0414, 0x64} /* capital letter de */, - {0x0415, 0x65} /* capital letter ie */, - {0x0416, 0x76} /* capital letter zhe */, - {0x0417, 0x7a} /* capital letter ze */, - {0x0418, 0x69} /* capital letter i */, - {0x0419, 0x6a} /* capital letter short i */, - {0x041a, 0x6b} /* capital letter ka */, - {0x041b, 0x6c} /* capital letter el */, - {0x041c, 0x6d} /* capital letter em */, - {0x041d, 0x6e} /* capital letter en */, - {0x041e, 0x6f} /* capital letter o */, - {0x041f, 0x70} /* capital letter pe */, - {0x0420, 0x72} /* capital letter er */, - {0x0421, 0x73} /* capital letter es */, - {0x0422, 0x74} /* capital letter te */, - {0x0423, 0x75} /* capital letter u */, - {0x0424, 0x66} /* capital letter ef */, - {0x0425, 0x68} /* capital letter ha */, - {0x0426, 0x63} /* capital letter tse */, - {0x0427, 0x7e} /* capital letter che */, - {0x0428, 0x7b} /* capital letter sha */, - {0x0429, 0x7d} /* capital letter shcha */, - {0x042b, 0x79} /* capital letter yeru */, - {0x042c, 0x78} /* capital letter soft sign */, - {0x042d, 0x7c} /* capital letter e */, - {0x042e, 0x60} /* capital letter yu */, - {0x042f, 0x71} /* capital letter ya */ -}; - -/* -#define cet_ucs4_to_koi_7_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi_7_extra[cet_ucs4_to_koi_7_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi_7 = /* defined in cet.h */ -{ - cet_cs_name_koi_7, /* name of character set */ - cet_cs_alias_koi_7, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi_7, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi_7, /* first non standard character */ - cet_ucs4_cnt_koi_7, /* number of values in table */ - - cet_ucs4_to_koi_7_links, /* UCS-4 to char links */ - cet_ucs4_to_koi_7_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi_7_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi_8.h b/gpsbabel/cet/koi_8.h deleted file mode 100644 index 8b4795be9..000000000 --- a/gpsbabel/cet/koi_8.h +++ /dev/null @@ -1,191 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI-8" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi_8_h -#define koi_8_h - -#define cet_cs_name_koi_8 "KOI-8" - -const char *cet_cs_alias_koi_8[] = -{ - "KOI-8", "GOST_19768-74", NULL -}; - -#define cet_ucs4_ofs_koi_8 128 -#define cet_ucs4_cnt_koi_8 127 - -const int cet_ucs4_map_koi_8[cet_ucs4_cnt_koi_8] = -{ - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427 -}; - -#define cet_ucs4_to_koi_8_ct 63 - -const cet_ucs4_link_t cet_ucs4_to_koi_8_links[cet_ucs4_to_koi_8_ct] = -{ - {0x0410, 0xe1} /* capital letter a */, - {0x0411, 0xe2} /* capital letter be */, - {0x0412, 0xf7} /* capital letter ve */, - {0x0413, 0xe7} /* capital letter ghe */, - {0x0414, 0xe4} /* capital letter de */, - {0x0415, 0xe5} /* capital letter ie */, - {0x0416, 0xf6} /* capital letter zhe */, - {0x0417, 0xfa} /* capital letter ze */, - {0x0418, 0xe9} /* capital letter i */, - {0x0419, 0xea} /* capital letter short i */, - {0x041a, 0xeb} /* capital letter ka */, - {0x041b, 0xec} /* capital letter el */, - {0x041c, 0xed} /* capital letter em */, - {0x041d, 0xee} /* capital letter en */, - {0x041e, 0xef} /* capital letter o */, - {0x041f, 0xf0} /* capital letter pe */, - {0x0420, 0xf2} /* capital letter er */, - {0x0421, 0xf3} /* capital letter es */, - {0x0422, 0xf4} /* capital letter te */, - {0x0423, 0xf5} /* capital letter u */, - {0x0424, 0xe6} /* capital letter ef */, - {0x0425, 0xe8} /* capital letter ha */, - {0x0426, 0xe3} /* capital letter tse */, - {0x0427, 0xfe} /* capital letter che */, - {0x0428, 0xfb} /* capital letter sha */, - {0x0429, 0xfd} /* capital letter shcha */, - {0x042b, 0xf9} /* capital letter yeru */, - {0x042c, 0xf8} /* capital letter soft sign */, - {0x042d, 0xfc} /* capital letter e */, - {0x042e, 0xe0} /* capital letter yu */, - {0x042f, 0xf1} /* capital letter ya */, - {0x0430, 0xc1} /* small letter a */, - {0x0431, 0xc2} /* small letter be */, - {0x0432, 0xd7} /* small letter ve */, - {0x0433, 0xc7} /* small letter ghe */, - {0x0434, 0xc4} /* small letter de */, - {0x0435, 0xc5} /* small letter ie */, - {0x0436, 0xd6} /* small letter zhe */, - {0x0437, 0xda} /* small letter ze */, - {0x0438, 0xc9} /* small letter i */, - {0x0439, 0xca} /* small letter short i */, - {0x043a, 0xcb} /* small letter ka */, - {0x043b, 0xcc} /* small letter el */, - {0x043c, 0xcd} /* small letter em */, - {0x043d, 0xce} /* small letter en */, - {0x043e, 0xcf} /* small letter o */, - {0x043f, 0xd0} /* small letter pe */, - {0x0440, 0xd2} /* small letter er */, - {0x0441, 0xd3} /* small letter es */, - {0x0442, 0xd4} /* small letter te */, - {0x0443, 0xd5} /* small letter u */, - {0x0444, 0xc6} /* small letter ef */, - {0x0445, 0xc8} /* small letter ha */, - {0x0446, 0xc3} /* small letter tse */, - {0x0447, 0xde} /* small letter che */, - {0x0448, 0xdb} /* small letter sha */, - {0x0449, 0xdd} /* small letter shcha */, - {0x044a, 0xdf} /* small letter hard sign */, - {0x044b, 0xd9} /* small letter yeru */, - {0x044c, 0xd8} /* small letter soft sign */, - {0x044d, 0xdc} /* small letter e */, - {0x044e, 0xc0} /* small letter yu */, - {0x044f, 0xd1} /* small letter ya */ -}; - -/* -#define cet_ucs4_to_koi_8_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi_8_extra[cet_ucs4_to_koi_8_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi_8 = /* defined in cet.h */ -{ - cet_cs_name_koi_8, /* name of character set */ - cet_cs_alias_koi_8, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi_8, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi_8, /* first non standard character */ - cet_ucs4_cnt_koi_8, /* number of values in table */ - - cet_ucs4_to_koi_8_links, /* UCS-4 to char links */ - cet_ucs4_to_koi_8_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi_8_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, - 0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e, - 0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, - 0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a, - 0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, - 0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e, - 0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, - 0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/koi_8_cs2.h b/gpsbabel/cet/koi_8_cs2.h deleted file mode 100644 index 3398b91e6..000000000 --- a/gpsbabel/cet/koi_8_cs2.h +++ /dev/null @@ -1,222 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KOI-8_CS2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef koi_8_cs2_h -#define koi_8_cs2_h - -#define cet_cs_name_koi_8_cs2 "KOI-8_CS2" - -const char *cet_cs_alias_koi_8_cs2[] = -{ - "KOI-8_CS2", NULL -}; - -#define cet_ucs4_ofs_koi_8_cs2 36 -#define cet_ucs4_cnt_koi_8_cs2 219 - -const int cet_ucs4_map_koi_8_cs2[cet_ucs4_cnt_koi_8_cs2] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, - 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, 0x0081, 0x0082, 0x0083, - 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, 0x0089, 0x008a, 0x008b, - 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093, - 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, 0x009a, 0x009b, - 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, -1, 0x00b4, -1, - 0x007e, -1, 0x02d8, 0x02d9, 0x00a8, -1, 0x02da, 0x00b8, - -1, 0x02dd, 0x02db, 0x02c7, 0x00a9, 0x2122, 0x250c, 0x2510, - 0x2514, 0x2518, 0x2500, 0x2193, 0x03a9, 0x00a7, 0x03b1, 0x03b3, - 0x03b5, 0x03bc, 0x03c0, 0x03c9, 0x00e0, 0x00e1, 0x01ce, 0x010d, - 0x010f, 0x011b, 0x0155, -1, 0x00fc, 0x00ed, 0x016f, 0x013a, - 0x013e, 0x00f6, 0x0148, 0x00f3, 0x00f4, 0x00e4, 0x0159, 0x0161, - 0x0165, 0x00fa, 0x00eb, 0x00e9, 0x0171, 0x00fd, 0x017e, -1, - -1, 0x0151, 0x0117, 0x00df, 0x00c0, 0x00c1, 0x01cd, 0x010c, - 0x010e, 0x011a, 0x0154, -1, 0x00dc, 0x00cd, 0x016e, 0x0139, - 0x013d, 0x00d6, 0x0147, 0x00d3, 0x00d4, 0x00c4, 0x0158, 0x0160, - 0x0164, 0x00da, 0x00cb, 0x00c9, 0x0170, 0x00dd, 0x017d, -1, - -1, 0x0150, 0x0116 -}; - -#define cet_ucs4_to_koi_8_cs2_ct 82 - -const cet_ucs4_link_t cet_ucs4_to_koi_8_cs2_links[cet_ucs4_to_koi_8_cs2_ct] = -{ - {0x007e, 0xa4} /* tilde */, - {0x00a4, 0x24} /* sign */, - {0x00a7, 0xb9} /* sign */, - {0x00a9, 0xb0} /* sign */, - {0x00b4, 0xa2} /* accent */, - {0x00b8, 0xab} /* cedilla */, - {0x00c0, 0xe0} /* capital letter a with grave */, - {0x00c1, 0xe1} /* capital letter a with acute */, - {0x00c4, 0xf1} /* capital letter a with diaeresis */, - {0x00c9, 0xf7} /* capital letter e with acute */, - {0x00cb, 0xf6} /* capital letter e with diaeresis */, - {0x00cd, 0xe9} /* capital letter i with acute */, - {0x00d3, 0xef} /* capital letter o with acute */, - {0x00d4, 0xf0} /* capital letter o with circumflex */, - {0x00d6, 0xed} /* capital letter o with diaeresis */, - {0x00da, 0xf5} /* capital letter u with acute */, - {0x00dc, 0xe8} /* capital letter u with diaeresis */, - {0x00dd, 0xf9} /* capital letter y with acute */, - {0x00e0, 0xc0} /* small letter a with grave */, - {0x00e1, 0xc1} /* small letter a with acute */, - {0x00e4, 0xd1} /* small letter a with diaeresis */, - {0x00e9, 0xd7} /* small letter e with acute */, - {0x00eb, 0xd6} /* small letter e with diaeresis */, - {0x00ed, 0xc9} /* small letter i with acute */, - {0x00f3, 0xcf} /* small letter o with acute */, - {0x00f4, 0xd0} /* small letter o with circumflex */, - {0x00f6, 0xcd} /* small letter o with diaeresis */, - {0x00fa, 0xd5} /* small letter u with acute */, - {0x00fc, 0xc8} /* small letter u with diaeresis */, - {0x00fd, 0xd9} /* small letter y with acute */, - {0x010c, 0xe3} /* capital letter c with caron */, - {0x010d, 0xc3} /* small letter c with caron */, - {0x010e, 0xe4} /* capital letter d with caron */, - {0x010f, 0xc4} /* small letter d with caron */, - {0x0116, 0xfe} /* capital letter e with dot above */, - {0x0117, 0xde} /* small letter e with dot above */, - {0x011a, 0xe5} /* capital letter e with caron */, - {0x011b, 0xc5} /* small letter e with caron */, - {0x0139, 0xeb} /* capital letter l with acute */, - {0x013a, 0xcb} /* small letter l with acute */, - {0x013d, 0xec} /* capital letter l with caron */, - {0x013e, 0xcc} /* small letter l with caron */, - {0x0147, 0xee} /* capital letter n with caron */, - {0x0148, 0xce} /* small letter n with caron */, - {0x0150, 0xfd} /* capital letter o with double acute */, - {0x0151, 0xdd} /* small letter o with double acute */, - {0x0154, 0xe6} /* capital letter r with acute */, - {0x0155, 0xc6} /* small letter r with acute */, - {0x0158, 0xf2} /* capital letter r with caron */, - {0x0159, 0xd2} /* small letter r with caron */, - {0x0160, 0xf3} /* capital letter s with caron */, - {0x0161, 0xd3} /* small letter s with caron */, - {0x0164, 0xf4} /* capital letter t with caron */, - {0x0165, 0xd4} /* small letter t with caron */, - {0x016e, 0xea} /* capital letter u with ring above */, - {0x016f, 0xca} /* small letter u with ring above */, - {0x0170, 0xf8} /* capital letter u with double acute */, - {0x0171, 0xd8} /* small letter u with double acute */, - {0x017d, 0xfa} /* capital letter z with caron */, - {0x017e, 0xda} /* small letter z with caron */, - {0x01cd, 0xe2} /* capital letter a with caron */, - {0x01ce, 0xc2} /* small letter a with caron */, - {0x02c7, 0xaf} /* caron */, - {0x02d8, 0xa6} /* breve */, - {0x02d9, 0xa7} /* above */, - {0x02da, 0xaa} /* above */, - {0x02db, 0xae} /* ogonek */, - {0x02dd, 0xad} /* acute accent */, - {0x03a9, 0xb8} /* capital letter omega */, - {0x03b1, 0xba} /* small letter alpha */, - {0x03b3, 0xbb} /* small letter gamma */, - {0x03b5, 0xbc} /* small letter epsilon */, - {0x03bc, 0xbd} /* small letter mu */, - {0x03c0, 0xbe} /* small letter pi */, - {0x03c9, 0xbf} /* small letter omega */, - {0x2122, 0xb1} /* mark sign */, - {0x2193, 0xb7} /* arrow */, - {0x2500, 0xb6} /* drawings light horizontal */, - {0x250c, 0xb2} /* drawings light down and right */, - {0x2510, 0xb3} /* drawings light down and left */, - {0x2514, 0xb4} /* drawings light up and right */, - {0x2518, 0xb5} /* drawings light up and left */ -}; - -/* -#define cet_ucs4_to_koi_8_cs2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_koi_8_cs2_extra[cet_ucs4_to_koi_8_cs2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_koi_8_cs2 = /* defined in cet.h */ -{ - cet_cs_name_koi_8_cs2, /* name of character set */ - cet_cs_alias_koi_8_cs2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_koi_8_cs2, /* char to UCS-4 value table */ - cet_ucs4_ofs_koi_8_cs2, /* first non standard character */ - cet_ucs4_cnt_koi_8_cs2, /* number of values in table */ - - cet_ucs4_to_koi_8_cs2_links, /* UCS-4 to char links */ - cet_ucs4_to_koi_8_cs2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int koi_8_cs2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00a0, -1, 0x00b4, -1, 0x007e, -1, 0x02d8, 0x02d9, - 0x00a8, -1, 0x02da, 0x00b8, -1, 0x02dd, 0x02db, 0x02c7, - 0x00a9, 0x2122, 0x250c, 0x2510, 0x2514, 0x2518, 0x2500, 0x2193, - 0x03a9, 0x00a7, 0x03b1, 0x03b3, 0x03b5, 0x03bc, 0x03c0, 0x03c9, - 0x00e0, 0x00e1, 0x01ce, 0x010d, 0x010f, 0x011b, 0x0155, -1, - 0x00fc, 0x00ed, 0x016f, 0x013a, 0x013e, 0x00f6, 0x0148, 0x00f3, - 0x00f4, 0x00e4, 0x0159, 0x0161, 0x0165, 0x00fa, 0x00eb, 0x00e9, - 0x0171, 0x00fd, 0x017e, -1, -1, 0x0151, 0x0117, 0x00df, - 0x00c0, 0x00c1, 0x01cd, 0x010c, 0x010e, 0x011a, 0x0154, -1, - 0x00dc, 0x00cd, 0x016e, 0x0139, 0x013d, 0x00d6, 0x0147, 0x00d3, - 0x00d4, 0x00c4, 0x0158, 0x0160, 0x0164, 0x00da, 0x00cb, 0x00c9, - 0x0170, 0x00dd, 0x017d, -1, -1, 0x0150, 0x0116, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ksc5636.h b/gpsbabel/cet/ksc5636.h deleted file mode 100644 index ff513c529..000000000 --- a/gpsbabel/cet/ksc5636.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "KSC5636" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ksc5636_h -#define ksc5636_h - -#define cet_cs_name_ksc5636 "KSC5636" - -const char *cet_cs_alias_ksc5636[] = -{ - "KSC5636", "ISO646-KR", NULL -}; - -#define cet_ucs4_ofs_ksc5636 92 -#define cet_ucs4_cnt_ksc5636 36 - -const int cet_ucs4_map_ksc5636[cet_ucs4_cnt_ksc5636] = -{ - 0x20a9, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, - 0x007c, 0x007d, 0x007e, 0x007f -}; - -#define cet_ucs4_to_ksc5636_ct 1 - -const cet_ucs4_link_t cet_ucs4_to_ksc5636_links[cet_ucs4_to_ksc5636_ct] = -{ - {0x20a9, 0x5c} /* sign */ -}; - -/* -#define cet_ucs4_to_ksc5636_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ksc5636_extra[cet_ucs4_to_ksc5636_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ksc5636 = /* defined in cet.h */ -{ - cet_cs_name_ksc5636, /* name of character set */ - cet_cs_alias_ksc5636, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ksc5636, /* char to UCS-4 value table */ - cet_ucs4_ofs_ksc5636, /* first non standard character */ - cet_ucs4_cnt_ksc5636, /* number of values in table */ - - cet_ucs4_to_ksc5636_links, /* UCS-4 to char links */ - cet_ucs4_to_ksc5636_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ksc5636_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x20a9, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/latin_greek_1.h b/gpsbabel/cet/latin_greek_1.h deleted file mode 100644 index ffb016353..000000000 --- a/gpsbabel/cet/latin_greek_1.h +++ /dev/null @@ -1,136 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "Latin-greek-1" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef latin_greek_1_h -#define latin_greek_1_h - -#define cet_cs_name_latin_greek_1 "Latin-greek-1" - -const char *cet_cs_alias_latin_greek_1[] = -{ - "Latin-greek-1", "iso-ir-27", NULL -}; - -#define cet_ucs4_ofs_latin_greek_1 33 -#define cet_ucs4_cnt_latin_greek_1 95 - -const int cet_ucs4_map_latin_greek_1[cet_ucs4_cnt_latin_greek_1] = -{ - 0x039e, 0x0022, 0x0393, 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, - 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, - 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, - 0x0039, 0x03a8, 0x003b, 0x003c, 0x003d, 0x003e, 0x03a0, 0x0394, - 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, - 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x03a9, 0x0398, 0x03a6, 0x039b, 0x03a3, 0x0060, - 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, - 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f -}; - -#define cet_ucs4_to_latin_greek_1_ct 12 - -const cet_ucs4_link_t cet_ucs4_to_latin_greek_1_links[cet_ucs4_to_latin_greek_1_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x0393, 0x23} /* capital letter gamma */, - {0x0394, 0x40} /* capital letter delta */, - {0x0398, 0x5c} /* capital letter theta */, - {0x039b, 0x5e} /* capital letter lamda */, - {0x039e, 0x21} /* capital letter xi */, - {0x03a0, 0x3f} /* capital letter pi */, - {0x03a3, 0x5f} /* capital letter sigma */, - {0x03a6, 0x5d} /* capital letter phi */, - {0x03a8, 0x3a} /* capital letter psi */, - {0x03a9, 0x5b} /* capital letter omega */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_latin_greek_1_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_latin_greek_1_extra[cet_ucs4_to_latin_greek_1_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_latin_greek_1 = /* defined in cet.h */ -{ - cet_cs_name_latin_greek_1, /* name of character set */ - cet_cs_alias_latin_greek_1, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_latin_greek_1, /* char to UCS-4 value table */ - cet_ucs4_ofs_latin_greek_1, /* first non standard character */ - cet_ucs4_cnt_latin_greek_1, /* number of values in table */ - - cet_ucs4_to_latin_greek_1_links, /* UCS-4 to char links */ - cet_ucs4_to_latin_greek_1_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int latin_greek_1_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x039e, 0x0022, 0x0393, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x03a8, 0x003b, 0x003c, 0x003d, 0x003e, 0x03a0, - 0x0394, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x03a9, 0x0398, 0x03a6, 0x039b, 0x03a3, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/mac_is.h b/gpsbabel/cet/mac_is.h deleted file mode 100644 index 6c0050324..000000000 --- a/gpsbabel/cet/mac_is.h +++ /dev/null @@ -1,248 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "mac-is" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef mac_is_h -#define mac_is_h - -#define cet_cs_name_mac_is "mac-is" - -const char *cet_cs_alias_mac_is[] = -{ - "mac-is", NULL -}; - -#define cet_ucs4_ofs_mac_is 128 -#define cet_ucs4_cnt_mac_is 128 - -const int cet_ucs4_map_mac_is[cet_ucs4_cnt_mac_is] = -{ - 0x00c4, 0x00c5, 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, - 0x00e0, 0x00e2, 0x00e4, 0x00e3, 0x00e5, 0x00e7, 0x00e9, 0x00e8, - 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00ef, 0x00f1, 0x00f3, - 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00fc, - 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x00b4, 0x00a8, 0x2260, 0x00c6, 0x00d8, - 0x221e, 0x00b1, 0x2264, 0x2265, 0x00a5, 0x00b5, 0x2202, 0x2211, - 0x220f, 0x03c0, 0x222b, 0x00aa, 0x00ba, 0x03a9, 0x00e6, 0x00f8, - 0x00bf, 0x00a1, 0x00ac, 0x221a, 0x0192, 0x2248, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x00c0, 0x00c3, 0x00d5, 0x0152, 0x0153, - 0x2014, 0x2013, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25c6, - 0x00ff, 0x0178, 0x2044, 0x00a4, 0x0110, 0x0111, 0x00de, 0x00fe, - 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00c2, 0x00ca, 0x00c1, - 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00d4, - 0xe01e, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, -1, -1, - 0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 -}; - -#define cet_ucs4_to_mac_is_ct 120 - -const cet_ucs4_link_t cet_ucs4_to_mac_is_links[cet_ucs4_to_mac_is_ct] = -{ - {0x00a0, 0xca} /* space */, - {0x00a1, 0xc1} /* exclamation mark */, - {0x00a4, 0xdb} /* sign */, - {0x00a5, 0xb4} /* sign */, - {0x00a7, 0xa4} /* sign */, - {0x00a8, 0xac} /* diaeresis */, - {0x00aa, 0xbb} /* ordinal indicator */, - {0x00ab, 0xc7} /* double angle quotation mark */, - {0x00ac, 0xc2} /* sign */, - {0x00ae, 0xa8} /* sign */, - {0x00af, 0xf8} /* macron */, - {0x00b0, 0xa1} /* sign */, - {0x00b4, 0xab} /* accent */, - {0x00b6, 0xa6} /* sign */, - {0x00b7, 0xe1} /* dot */, - {0x00b8, 0xfc} /* cedilla */, - {0x00ba, 0xbc} /* ordinal indicator */, - {0x00bb, 0xc8} /* double angle quotation mark */, - {0x00bf, 0xc0} /* question mark */, - {0x00c0, 0xcb} /* capital letter a with grave */, - {0x00c1, 0xe7} /* capital letter a with acute */, - {0x00c2, 0xe5} /* capital letter a with circumflex */, - {0x00c3, 0xcc} /* capital letter a with tilde */, - {0x00c4, 0x80} /* capital letter a with diaeresis */, - {0x00c5, 0x81} /* capital letter a with ring above */, - {0x00c6, 0xae} /* capital letter ae */, - {0x00c7, 0x82} /* capital letter c with cedilla */, - {0x00c8, 0xe9} /* capital letter e with grave */, - {0x00c9, 0x83} /* capital letter e with acute */, - {0x00ca, 0xe6} /* capital letter e with circumflex */, - {0x00cb, 0xe8} /* capital letter e with diaeresis */, - {0x00cc, 0xed} /* capital letter i with grave */, - {0x00cd, 0xea} /* capital letter i with acute */, - {0x00ce, 0xeb} /* capital letter i with circumflex */, - {0x00cf, 0xec} /* capital letter i with diaeresis */, - {0x00d1, 0x84} /* capital letter n with tilde */, - {0x00d2, 0xf1} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xef} /* capital letter o with circumflex */, - {0x00d5, 0xcd} /* capital letter o with tilde */, - {0x00d6, 0x85} /* capital letter o with diaeresis */, - {0x00d8, 0xaf} /* capital letter o with stroke */, - {0x00d9, 0xf4} /* capital letter u with grave */, - {0x00da, 0xf2} /* capital letter u with acute */, - {0x00db, 0xf3} /* capital letter u with circumflex */, - {0x00dc, 0x86} /* capital letter u with diaeresis */, - {0x00df, 0xa7} /* small letter sharp s (german) */, - {0x00e0, 0x88} /* small letter a with grave */, - {0x00e1, 0x87} /* small letter a with acute */, - {0x00e2, 0x89} /* small letter a with circumflex */, - {0x00e3, 0x8b} /* small letter a with tilde */, - {0x00e4, 0x8a} /* small letter a with diaeresis */, - {0x00e5, 0x8c} /* small letter a with ring above */, - {0x00e6, 0xbe} /* small letter ae */, - {0x00e7, 0x8d} /* small letter c with cedilla */, - {0x00e8, 0x8f} /* small letter e with grave */, - {0x00e9, 0x8e} /* small letter e with acute */, - {0x00ea, 0x90} /* small letter e with circumflex */, - {0x00eb, 0x91} /* small letter e with diaeresis */, - {0x00ec, 0x93} /* small letter i with grave */, - {0x00ed, 0x92} /* small letter i with acute */, - {0x00ee, 0x94} /* small letter i with circumflex */, - {0x00ef, 0x95} /* small letter i with diaeresis */, - {0x00f1, 0x96} /* small letter n with tilde */, - {0x00f2, 0x98} /* small letter o with grave */, - {0x00f3, 0x97} /* small letter o with acute */, - {0x00f4, 0x99} /* small letter o with circumflex */, - {0x00f5, 0x9b} /* small letter o with tilde */, - {0x00f6, 0x9a} /* small letter o with diaeresis */, - {0x00f7, 0xd6} /* sign */, - {0x00f8, 0xbf} /* small letter o with stroke */, - {0x00f9, 0x9d} /* small letter u with grave */, - {0x00fa, 0x9c} /* small letter u with acute */, - {0x00fb, 0x9e} /* small letter u with circumflex */, - {0x00fc, 0x9f} /* small letter u with diaeresis */, - {0x00fe, 0xdf} /* small letter thorn (icelandic) */, - {0x00ff, 0xd8} /* small letter y with diaeresis */, - {0x0110, 0xdc} /* capital letter d with stroke */, - {0x0111, 0xdd} /* small letter d with stroke */, - {0x0131, 0xf5} /* small letter i dotless */, - {0x0152, 0xce} /* capital ligature oe */, - {0x0153, 0xcf} /* small ligature oe */, - {0x0178, 0xd9} /* capital letter y with diaeresis */, - {0x0192, 0xc4} /* minuscule latine f hameçon */, - {0x02c7, 0xff} /* caron */, - {0x02d8, 0xf9} /* breve */, - {0x02d9, 0xfa} /* above */, - {0x02da, 0xfb} /* above */, - {0x02db, 0xfe} /* ogonek */, - {0x02dd, 0xfd} /* acute accent */, - {0x0394, 0xc6} /* capital letter delta */, - {0x03a9, 0xbd} /* capital letter omega */, - {0x03c0, 0xb9} /* small letter pi */, - {0x2013, 0xd1} /* dash */, - {0x2014, 0xd0} /* dash */, - {0x2018, 0xd4} /* single quotation mark */, - {0x2019, 0xd5} /* single quotation mark */, - {0x201a, 0xe2} /* low-9 quotation mark */, - {0x201c, 0xd2} /* double quotation mark */, - {0x201d, 0xd3} /* double quotation mark */, - {0x201e, 0xe3} /* low-9 quotation mark */, - {0x2020, 0xa0} /* dagger */, - {0x2021, 0xe0} /* dagger */, - {0x2022, 0xa5} /* puce */, - {0x2026, 0xc9} /* horizontal ellipsis */, - {0x2030, 0xe4} /* mille sign */, - {0x2044, 0xda} /* slash */, - {0x2122, 0xaa} /* mark sign */, - {0x2202, 0xb6} /* differential */, - {0x220f, 0xb8} /* product */, - {0x2211, 0xb7} /* summation */, - {0x221a, 0xc3} /* root */, - {0x221e, 0xb0} /* infinity */, - {0x222b, 0xba} /* integral */, - {0x2248, 0xc5} /* equal to */, - {0x2260, 0xad} /* equal to */, - {0x2264, 0xb2} /* or equal to */, - {0x2265, 0xb3} /* or equal to */, - {0x25c6, 0xd7} /* diamond */, - {0xe01e, 0xf0} /* */ -}; - -/* -#define cet_ucs4_to_mac_is_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_mac_is_extra[cet_ucs4_to_mac_is_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_mac_is = /* defined in cet.h */ -{ - cet_cs_name_mac_is, /* name of character set */ - cet_cs_alias_mac_is, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_mac_is, /* char to UCS-4 value table */ - cet_ucs4_ofs_mac_is, /* first non standard character */ - cet_ucs4_cnt_mac_is, /* number of values in table */ - - cet_ucs4_to_mac_is_links, /* UCS-4 to char links */ - cet_ucs4_to_mac_is_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int mac_is_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c4, 0x00c5, 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, - 0x00e0, 0x00e2, 0x00e4, 0x00e3, 0x00e5, 0x00e7, 0x00e9, 0x00e8, - 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00ef, 0x00f1, 0x00f3, - 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00fc, - 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x00b4, 0x00a8, 0x2260, 0x00c6, 0x00d8, - 0x221e, 0x00b1, 0x2264, 0x2265, 0x00a5, 0x00b5, 0x2202, 0x2211, - 0x220f, 0x03c0, 0x222b, 0x00aa, 0x00ba, 0x03a9, 0x00e6, 0x00f8, - 0x00bf, 0x00a1, 0x00ac, 0x221a, 0x0192, 0x2248, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x00c0, 0x00c3, 0x00d5, 0x0152, 0x0153, - 0x2014, 0x2013, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25c6, - 0x00ff, 0x0178, 0x2044, 0x00a4, 0x0110, 0x0111, 0x00de, 0x00fe, - 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00c2, 0x00ca, 0x00c1, - 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00d4, - 0xe01e, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, -1, -1, - 0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 -}; -*/ - -#endif diff --git a/gpsbabel/cet/macintosh.h b/gpsbabel/cet/macintosh.h deleted file mode 100644 index f4f29735f..000000000 --- a/gpsbabel/cet/macintosh.h +++ /dev/null @@ -1,250 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "macintosh" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef macintosh_h -#define macintosh_h - -#define cet_cs_name_macintosh "macintosh" - -const char *cet_cs_alias_macintosh[] = -{ - "macintosh", "csMacintosh", "mac", "MacRoman", - NULL -}; - -#define cet_ucs4_ofs_macintosh 128 -#define cet_ucs4_cnt_macintosh 128 - -const int cet_ucs4_map_macintosh[cet_ucs4_cnt_macintosh] = -{ - 0x00c4, 0x00c5, 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, - 0x00e0, 0x00e2, 0x00e4, 0x00e3, 0x00e5, 0x00e7, 0x00e9, 0x00e8, - 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00ef, 0x00f1, 0x00f3, - 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00fc, - 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x00b4, 0x00a8, 0x2260, 0x00c6, 0x00d8, - 0x221e, 0x00b1, 0x2264, 0x2265, 0x00a5, 0x00b5, 0x2202, 0x2211, - 0x220f, 0x03c0, 0x222b, 0x00aa, 0x00ba, 0x03a9, 0x00e6, 0x00f8, - 0x00bf, 0x00a1, 0x00ac, 0x221a, 0x0192, 0x2248, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x00c0, 0x00c3, 0x2126, 0x0152, 0x0153, - 0x2013, 0x2014, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25ca, - 0x00ff, 0x0178, 0x2044, 0x00a4, 0x2039, 0x203a, 0xfb01, 0xfb02, - 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00c2, 0x00ca, 0x00c1, - 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00d4, - 0xe01e, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, -1, -1, - 0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 -}; - -#define cet_ucs4_to_macintosh_ct 121 - -const cet_ucs4_link_t cet_ucs4_to_macintosh_links[cet_ucs4_to_macintosh_ct] = -{ - {0x00a0, 0xca} /* space */, - {0x00a1, 0xc1} /* exclamation mark */, - {0x00a4, 0xdb} /* sign */, - {0x00a5, 0xb4} /* sign */, - {0x00a7, 0xa4} /* sign */, - {0x00a8, 0xac} /* diaeresis */, - {0x00aa, 0xbb} /* ordinal indicator */, - {0x00ab, 0xc7} /* double angle quotation mark */, - {0x00ac, 0xc2} /* sign */, - {0x00ae, 0xa8} /* sign */, - {0x00af, 0xf8} /* macron */, - {0x00b0, 0xa1} /* sign */, - {0x00b4, 0xab} /* accent */, - {0x00b6, 0xa6} /* sign */, - {0x00b7, 0xe1} /* dot */, - {0x00b8, 0xfc} /* cedilla */, - {0x00ba, 0xbc} /* ordinal indicator */, - {0x00bb, 0xc8} /* double angle quotation mark */, - {0x00bf, 0xc0} /* question mark */, - {0x00c0, 0xcb} /* capital letter a with grave */, - {0x00c1, 0xe7} /* capital letter a with acute */, - {0x00c2, 0xe5} /* capital letter a with circumflex */, - {0x00c3, 0xcc} /* capital letter a with tilde */, - {0x00c4, 0x80} /* capital letter a with diaeresis */, - {0x00c5, 0x81} /* capital letter a with ring above */, - {0x00c6, 0xae} /* capital letter ae */, - {0x00c7, 0x82} /* capital letter c with cedilla */, - {0x00c8, 0xe9} /* capital letter e with grave */, - {0x00c9, 0x83} /* capital letter e with acute */, - {0x00ca, 0xe6} /* capital letter e with circumflex */, - {0x00cb, 0xe8} /* capital letter e with diaeresis */, - {0x00cc, 0xed} /* capital letter i with grave */, - {0x00cd, 0xea} /* capital letter i with acute */, - {0x00ce, 0xeb} /* capital letter i with circumflex */, - {0x00cf, 0xec} /* capital letter i with diaeresis */, - {0x00d1, 0x84} /* capital letter n with tilde */, - {0x00d2, 0xf1} /* capital letter o with grave */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xef} /* capital letter o with circumflex */, - {0x00d6, 0x85} /* capital letter o with diaeresis */, - {0x00d8, 0xaf} /* capital letter o with stroke */, - {0x00d9, 0xf4} /* capital letter u with grave */, - {0x00da, 0xf2} /* capital letter u with acute */, - {0x00db, 0xf3} /* capital letter u with circumflex */, - {0x00dc, 0x86} /* capital letter u with diaeresis */, - {0x00df, 0xa7} /* small letter sharp s (german) */, - {0x00e0, 0x88} /* small letter a with grave */, - {0x00e1, 0x87} /* small letter a with acute */, - {0x00e2, 0x89} /* small letter a with circumflex */, - {0x00e3, 0x8b} /* small letter a with tilde */, - {0x00e4, 0x8a} /* small letter a with diaeresis */, - {0x00e5, 0x8c} /* small letter a with ring above */, - {0x00e6, 0xbe} /* small letter ae */, - {0x00e7, 0x8d} /* small letter c with cedilla */, - {0x00e8, 0x8f} /* small letter e with grave */, - {0x00e9, 0x8e} /* small letter e with acute */, - {0x00ea, 0x90} /* small letter e with circumflex */, - {0x00eb, 0x91} /* small letter e with diaeresis */, - {0x00ec, 0x93} /* small letter i with grave */, - {0x00ed, 0x92} /* small letter i with acute */, - {0x00ee, 0x94} /* small letter i with circumflex */, - {0x00ef, 0x95} /* small letter i with diaeresis */, - {0x00f1, 0x96} /* small letter n with tilde */, - {0x00f2, 0x98} /* small letter o with grave */, - {0x00f3, 0x97} /* small letter o with acute */, - {0x00f4, 0x99} /* small letter o with circumflex */, - {0x00f5, 0x9b} /* small letter o with tilde */, - {0x00f6, 0x9a} /* small letter o with diaeresis */, - {0x00f7, 0xd6} /* sign */, - {0x00f8, 0xbf} /* small letter o with stroke */, - {0x00f9, 0x9d} /* small letter u with grave */, - {0x00fa, 0x9c} /* small letter u with acute */, - {0x00fb, 0x9e} /* small letter u with circumflex */, - {0x00fc, 0x9f} /* small letter u with diaeresis */, - {0x00ff, 0xd8} /* small letter y with diaeresis */, - {0x0131, 0xf5} /* small letter i dotless */, - {0x0152, 0xce} /* capital ligature oe */, - {0x0153, 0xcf} /* small ligature oe */, - {0x0178, 0xd9} /* capital letter y with diaeresis */, - {0x0192, 0xc4} /* minuscule latine f hameçon */, - {0x02c7, 0xff} /* caron */, - {0x02d8, 0xf9} /* breve */, - {0x02d9, 0xfa} /* above */, - {0x02da, 0xfb} /* above */, - {0x02db, 0xfe} /* ogonek */, - {0x02dd, 0xfd} /* acute accent */, - {0x0394, 0xc6} /* capital letter delta */, - {0x03a9, 0xbd} /* capital letter omega */, - {0x03c0, 0xb9} /* small letter pi */, - {0x2013, 0xd0} /* dash */, - {0x2014, 0xd1} /* dash */, - {0x2018, 0xd4} /* single quotation mark */, - {0x2019, 0xd5} /* single quotation mark */, - {0x201a, 0xe2} /* low-9 quotation mark */, - {0x201c, 0xd2} /* double quotation mark */, - {0x201d, 0xd3} /* double quotation mark */, - {0x201e, 0xe3} /* low-9 quotation mark */, - {0x2020, 0xa0} /* dagger */, - {0x2021, 0xe0} /* dagger */, - {0x2022, 0xa5} /* puce */, - {0x2026, 0xc9} /* horizontal ellipsis */, - {0x2030, 0xe4} /* mille sign */, - {0x2039, 0xdc} /* left-pointing angle quotation mark */, - {0x203a, 0xdd} /* right-pointing angle quotation mark */, - {0x2044, 0xda} /* slash */, - {0x2122, 0xaa} /* mark sign */, - {0x2126, 0xcd} /* sign */, - {0x2202, 0xb6} /* differential */, - {0x220f, 0xb8} /* product */, - {0x2211, 0xb7} /* summation */, - {0x221a, 0xc3} /* root */, - {0x221e, 0xb0} /* infinity */, - {0x222b, 0xba} /* integral */, - {0x2248, 0xc5} /* equal to */, - {0x2260, 0xad} /* equal to */, - {0x2264, 0xb2} /* or equal to */, - {0x2265, 0xb3} /* or equal to */, - {0x25ca, 0xd7} /* lozenge */, - {0xe01e, 0xf0} /* */, - {0xfb01, 0xde} /* small ligature fi */, - {0xfb02, 0xdf} /* small ligature fl */ -}; - -/* -#define cet_ucs4_to_macintosh_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_macintosh_extra[cet_ucs4_to_macintosh_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_macintosh = /* defined in cet.h */ -{ - cet_cs_name_macintosh, /* name of character set */ - cet_cs_alias_macintosh, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_macintosh, /* char to UCS-4 value table */ - cet_ucs4_ofs_macintosh, /* first non standard character */ - cet_ucs4_cnt_macintosh, /* number of values in table */ - - cet_ucs4_to_macintosh_links, /* UCS-4 to char links */ - cet_ucs4_to_macintosh_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int macintosh_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c4, 0x00c5, 0x00c7, 0x00c9, 0x00d1, 0x00d6, 0x00dc, 0x00e1, - 0x00e0, 0x00e2, 0x00e4, 0x00e3, 0x00e5, 0x00e7, 0x00e9, 0x00e8, - 0x00ea, 0x00eb, 0x00ed, 0x00ec, 0x00ee, 0x00ef, 0x00f1, 0x00f3, - 0x00f2, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x00f9, 0x00fb, 0x00fc, - 0x2020, 0x00b0, 0x00a2, 0x00a3, 0x00a7, 0x2022, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x00b4, 0x00a8, 0x2260, 0x00c6, 0x00d8, - 0x221e, 0x00b1, 0x2264, 0x2265, 0x00a5, 0x00b5, 0x2202, 0x2211, - 0x220f, 0x03c0, 0x222b, 0x00aa, 0x00ba, 0x03a9, 0x00e6, 0x00f8, - 0x00bf, 0x00a1, 0x00ac, 0x221a, 0x0192, 0x2248, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x00c0, 0x00c3, 0x2126, 0x0152, 0x0153, - 0x2013, 0x2014, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25ca, - 0x00ff, 0x0178, 0x2044, 0x00a4, 0x2039, 0x203a, 0xfb01, 0xfb02, - 0x2021, 0x00b7, 0x201a, 0x201e, 0x2030, 0x00c2, 0x00ca, 0x00c1, - 0x00cb, 0x00c8, 0x00cd, 0x00ce, 0x00cf, 0x00cc, 0x00d3, 0x00d4, - 0xe01e, 0x00d2, 0x00da, 0x00db, 0x00d9, 0x0131, -1, -1, - 0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7 -}; -*/ - -#endif diff --git a/gpsbabel/cet/macintosh_ce.h b/gpsbabel/cet/macintosh_ce.h deleted file mode 100644 index 4507de637..000000000 --- a/gpsbabel/cet/macintosh_ce.h +++ /dev/null @@ -1,254 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "macintosh_ce" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef macintosh_ce_h -#define macintosh_ce_h - -#define cet_cs_name_macintosh_ce "macintosh_ce" - -const char *cet_cs_alias_macintosh_ce[] = -{ - "macintosh_ce", "macce", NULL -}; - -#define cet_ucs4_ofs_macintosh_ce 128 -#define cet_ucs4_cnt_macintosh_ce 128 - -const int cet_ucs4_map_macintosh_ce[cet_ucs4_cnt_macintosh_ce] = -{ - 0x00c4, 0x0100, 0x0101, 0x00c9, 0x0104, 0x00d6, 0x00dc, 0x00e1, - 0x0105, 0x010c, 0x00e4, 0x010d, 0x0106, 0x0107, 0x00e9, 0x0179, - 0x017a, 0x010e, 0x00ed, 0x010f, 0x0112, 0x0113, 0x0116, 0x00f3, - 0x0117, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x011a, 0x011b, 0x00fc, - 0x2020, 0x00b0, 0x0118, 0x00a3, 0x00a7, 0x2219, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x0119, 0x00a8, 0x2260, 0x01f5, 0x012e, - 0x012f, 0x012a, 0x2264, 0x2265, 0x012b, 0x0136, 0x2202, 0x2211, - 0x0142, 0x013b, 0x013c, 0x013d, 0x013e, 0x0139, 0x013a, 0x0145, - 0x0146, 0x0143, 0x00ac, 0x221a, 0x0144, 0x0147, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x0148, 0x0150, 0x00d5, 0x0151, 0x014c, - 0x2013, 0x2014, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25c6, - 0x014d, 0x0154, 0x0155, 0x0158, 0x2039, 0x203a, 0x0159, 0x0156, - 0x0157, 0x0160, 0x201a, 0x201e, 0x0161, 0x015a, 0x015b, 0x00c1, - 0x0164, 0x0165, 0x00cd, 0x017d, 0x017e, 0x016a, 0x00d3, 0x00d4, - 0x016b, 0x016e, 0x00da, 0x016f, 0x0170, 0x0171, 0x0172, 0x0173, - 0x00dd, 0x00fd, 0x0137, 0x017b, 0x0141, 0x017c, 0x0122, 0x02c7 -}; - -#define cet_ucs4_to_macintosh_ce_ct 126 - -const cet_ucs4_link_t cet_ucs4_to_macintosh_ce_links[cet_ucs4_to_macintosh_ce_ct] = -{ - {0x00a0, 0xca} /* space */, - {0x00a7, 0xa4} /* sign */, - {0x00a8, 0xac} /* diaeresis */, - {0x00ab, 0xc7} /* double angle quotation mark */, - {0x00ac, 0xc2} /* sign */, - {0x00ae, 0xa8} /* sign */, - {0x00b0, 0xa1} /* sign */, - {0x00b6, 0xa6} /* sign */, - {0x00bb, 0xc8} /* double angle quotation mark */, - {0x00c1, 0xe7} /* capital letter a with acute */, - {0x00c4, 0x80} /* capital letter a with diaeresis */, - {0x00c9, 0x83} /* capital letter e with acute */, - {0x00cd, 0xea} /* capital letter i with acute */, - {0x00d3, 0xee} /* capital letter o with acute */, - {0x00d4, 0xef} /* capital letter o with circumflex */, - {0x00d5, 0xcd} /* capital letter o with tilde */, - {0x00d6, 0x85} /* capital letter o with diaeresis */, - {0x00da, 0xf2} /* capital letter u with acute */, - {0x00dc, 0x86} /* capital letter u with diaeresis */, - {0x00dd, 0xf8} /* capital letter y with acute */, - {0x00df, 0xa7} /* small letter sharp s (german) */, - {0x00e1, 0x87} /* small letter a with acute */, - {0x00e4, 0x8a} /* small letter a with diaeresis */, - {0x00e9, 0x8e} /* small letter e with acute */, - {0x00ed, 0x92} /* small letter i with acute */, - {0x00f3, 0x97} /* small letter o with acute */, - {0x00f4, 0x99} /* small letter o with circumflex */, - {0x00f5, 0x9b} /* small letter o with tilde */, - {0x00f6, 0x9a} /* small letter o with diaeresis */, - {0x00f7, 0xd6} /* sign */, - {0x00fa, 0x9c} /* small letter u with acute */, - {0x00fc, 0x9f} /* small letter u with diaeresis */, - {0x00fd, 0xf9} /* small letter y with acute */, - {0x0100, 0x81} /* capital letter a with macron */, - {0x0101, 0x82} /* small letter a with macron */, - {0x0104, 0x84} /* capital letter a with ogonek */, - {0x0105, 0x88} /* small letter a with ogonek */, - {0x0106, 0x8c} /* capital letter c with acute */, - {0x0107, 0x8d} /* small letter c with acute */, - {0x010c, 0x89} /* capital letter c with caron */, - {0x010d, 0x8b} /* small letter c with caron */, - {0x010e, 0x91} /* capital letter d with caron */, - {0x010f, 0x93} /* small letter d with caron */, - {0x0112, 0x94} /* capital letter e with macron */, - {0x0113, 0x95} /* small letter e with macron */, - {0x0116, 0x96} /* capital letter e with dot above */, - {0x0117, 0x98} /* small letter e with dot above */, - {0x0118, 0xa2} /* capital letter e with ogonek */, - {0x0119, 0xab} /* small letter e with ogonek */, - {0x011a, 0x9d} /* capital letter e with caron */, - {0x011b, 0x9e} /* small letter e with caron */, - {0x0122, 0xfe} /* capital letter g with cedilla */, - {0x012a, 0xb1} /* capital letter i with macron */, - {0x012b, 0xb4} /* small letter i with macron */, - {0x012e, 0xaf} /* capital letter i with ogonek */, - {0x012f, 0xb0} /* small letter i with ogonek */, - {0x0136, 0xb5} /* capital letter k with cedilla */, - {0x0137, 0xfa} /* small letter k with cedilla */, - {0x0139, 0xbd} /* capital letter l with acute */, - {0x013a, 0xbe} /* small letter l with acute */, - {0x013b, 0xb9} /* capital letter l with cedilla */, - {0x013c, 0xba} /* small letter l with cedilla */, - {0x013d, 0xbb} /* capital letter l with caron */, - {0x013e, 0xbc} /* small letter l with caron */, - {0x0141, 0xfc} /* capital letter l with stroke */, - {0x0142, 0xb8} /* small letter l with stroke */, - {0x0143, 0xc1} /* capital letter n with acute */, - {0x0144, 0xc4} /* small letter n with acute */, - {0x0145, 0xbf} /* capital letter n with cedilla */, - {0x0146, 0xc0} /* small letter n with cedilla */, - {0x0147, 0xc5} /* capital letter n with caron */, - {0x0148, 0xcb} /* small letter n with caron */, - {0x014c, 0xcf} /* capital letter o with macron */, - {0x014d, 0xd8} /* small letter o with macron */, - {0x0150, 0xcc} /* capital letter o with double acute */, - {0x0151, 0xce} /* small letter o with double acute */, - {0x0154, 0xd9} /* capital letter r with acute */, - {0x0155, 0xda} /* small letter r with acute */, - {0x0156, 0xdf} /* capital letter r with cedilla */, - {0x0157, 0xe0} /* small letter r with cedilla */, - {0x0158, 0xdb} /* capital letter r with caron */, - {0x0159, 0xde} /* small letter r with caron */, - {0x015a, 0xe5} /* capital letter s with acute */, - {0x015b, 0xe6} /* small letter s with acute */, - {0x0160, 0xe1} /* capital letter s with caron */, - {0x0161, 0xe4} /* small letter s with caron */, - {0x0164, 0xe8} /* capital letter t with caron */, - {0x0165, 0xe9} /* small letter t with caron */, - {0x016a, 0xed} /* capital letter u with macron */, - {0x016b, 0xf0} /* small letter u with macron */, - {0x016e, 0xf1} /* capital letter u with ring above */, - {0x016f, 0xf3} /* small letter u with ring above */, - {0x0170, 0xf4} /* capital letter u with double acute */, - {0x0171, 0xf5} /* small letter u with double acute */, - {0x0172, 0xf6} /* capital letter u with ogonek */, - {0x0173, 0xf7} /* small letter u with ogonek */, - {0x0179, 0x8f} /* capital letter z with acute */, - {0x017a, 0x90} /* small letter z with acute */, - {0x017b, 0xfb} /* capital letter z with dot above */, - {0x017c, 0xfd} /* small letter z with dot above */, - {0x017d, 0xeb} /* capital letter z with caron */, - {0x017e, 0xec} /* small letter z with caron */, - {0x01f5, 0xae} /* small letter g with acute */, - {0x02c7, 0xff} /* caron */, - {0x0394, 0xc6} /* capital letter delta */, - {0x2013, 0xd0} /* dash */, - {0x2014, 0xd1} /* dash */, - {0x2018, 0xd4} /* single quotation mark */, - {0x2019, 0xd5} /* single quotation mark */, - {0x201a, 0xe2} /* low-9 quotation mark */, - {0x201c, 0xd2} /* double quotation mark */, - {0x201d, 0xd3} /* double quotation mark */, - {0x201e, 0xe3} /* low-9 quotation mark */, - {0x2020, 0xa0} /* dagger */, - {0x2026, 0xc9} /* horizontal ellipsis */, - {0x2039, 0xdc} /* left-pointing angle quotation mark */, - {0x203a, 0xdd} /* right-pointing angle quotation mark */, - {0x2122, 0xaa} /* mark sign */, - {0x2202, 0xb6} /* differential */, - {0x2211, 0xb7} /* summation */, - {0x2219, 0xa5} /* operator */, - {0x221a, 0xc3} /* root */, - {0x2260, 0xad} /* equal to */, - {0x2264, 0xb2} /* or equal to */, - {0x2265, 0xb3} /* or equal to */, - {0x25c6, 0xd7} /* diamond */ -}; - -/* -#define cet_ucs4_to_macintosh_ce_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_macintosh_ce_extra[cet_ucs4_to_macintosh_ce_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_macintosh_ce = /* defined in cet.h */ -{ - cet_cs_name_macintosh_ce, /* name of character set */ - cet_cs_alias_macintosh_ce, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_macintosh_ce, /* char to UCS-4 value table */ - cet_ucs4_ofs_macintosh_ce, /* first non standard character */ - cet_ucs4_cnt_macintosh_ce, /* number of values in table */ - - cet_ucs4_to_macintosh_ce_links, /* UCS-4 to char links */ - cet_ucs4_to_macintosh_ce_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int macintosh_ce_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c4, 0x0100, 0x0101, 0x00c9, 0x0104, 0x00d6, 0x00dc, 0x00e1, - 0x0105, 0x010c, 0x00e4, 0x010d, 0x0106, 0x0107, 0x00e9, 0x0179, - 0x017a, 0x010e, 0x00ed, 0x010f, 0x0112, 0x0113, 0x0116, 0x00f3, - 0x0117, 0x00f4, 0x00f6, 0x00f5, 0x00fa, 0x011a, 0x011b, 0x00fc, - 0x2020, 0x00b0, 0x0118, 0x00a3, 0x00a7, 0x2219, 0x00b6, 0x00df, - 0x00ae, 0x00a9, 0x2122, 0x0119, 0x00a8, 0x2260, 0x01f5, 0x012e, - 0x012f, 0x012a, 0x2264, 0x2265, 0x012b, 0x0136, 0x2202, 0x2211, - 0x0142, 0x013b, 0x013c, 0x013d, 0x013e, 0x0139, 0x013a, 0x0145, - 0x0146, 0x0143, 0x00ac, 0x221a, 0x0144, 0x0147, 0x0394, 0x00ab, - 0x00bb, 0x2026, 0x00a0, 0x0148, 0x0150, 0x00d5, 0x0151, 0x014c, - 0x2013, 0x2014, 0x201c, 0x201d, 0x2018, 0x2019, 0x00f7, 0x25c6, - 0x014d, 0x0154, 0x0155, 0x0158, 0x2039, 0x203a, 0x0159, 0x0156, - 0x0157, 0x0160, 0x201a, 0x201e, 0x0161, 0x015a, 0x015b, 0x00c1, - 0x0164, 0x0165, 0x00cd, 0x017d, 0x017e, 0x016a, 0x00d3, 0x00d4, - 0x016b, 0x016e, 0x00da, 0x016f, 0x0170, 0x0171, 0x0172, 0x0173, - 0x00dd, 0x00fd, 0x0137, 0x017b, 0x0141, 0x017c, 0x0122, 0x02c7 -}; -*/ - -#endif diff --git a/gpsbabel/cet/msz_7795_3.h b/gpsbabel/cet/msz_7795_3.h deleted file mode 100644 index 0034a41bf..000000000 --- a/gpsbabel/cet/msz_7795_3.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "MSZ_7795.3" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef msz_7795_3_h -#define msz_7795_3_h - -#define cet_cs_name_msz_7795_3 "MSZ_7795.3" - -const char *cet_cs_alias_msz_7795_3[] = -{ - "MSZ_7795.3", "hu", "ISO646-HU", "iso-ir-86", - NULL -}; - -#define cet_ucs4_ofs_msz_7795_3 36 -#define cet_ucs4_cnt_msz_7795_3 92 - -const int cet_ucs4_map_msz_7795_3[cet_ucs4_cnt_msz_7795_3] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x00c1, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00c9, - 0x00d6, 0x00dc, 0x005e, 0x005f, 0x00e1, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00e9, - 0x00f6, 0x00fc, 0x02dd, 0x007f -}; - -#define cet_ucs4_to_msz_7795_3_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_msz_7795_3_links[cet_ucs4_to_msz_7795_3_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x00c1, 0x40} /* capital letter a with acute */, - {0x00c9, 0x5b} /* capital letter e with acute */, - {0x00d6, 0x5c} /* capital letter o with diaeresis */, - {0x00dc, 0x5d} /* capital letter u with diaeresis */, - {0x00e1, 0x60} /* small letter a with acute */, - {0x00e9, 0x7b} /* small letter e with acute */, - {0x00f6, 0x7c} /* small letter o with diaeresis */, - {0x00fc, 0x7d} /* small letter u with diaeresis */, - {0x02dd, 0x7e} /* acute accent */ -}; - -/* -#define cet_ucs4_to_msz_7795_3_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_msz_7795_3_extra[cet_ucs4_to_msz_7795_3_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_msz_7795_3 = /* defined in cet.h */ -{ - cet_cs_name_msz_7795_3, /* name of character set */ - cet_cs_alias_msz_7795_3, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_msz_7795_3, /* char to UCS-4 value table */ - cet_ucs4_ofs_msz_7795_3, /* first non standard character */ - cet_ucs4_cnt_msz_7795_3, /* number of values in table */ - - cet_ucs4_to_msz_7795_3_links, /* UCS-4 to char links */ - cet_ucs4_to_msz_7795_3_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int msz_7795_3_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00c1, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c9, 0x00d6, 0x00dc, 0x005e, 0x005f, - 0x00e1, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f6, 0x00fc, 0x02dd, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nats_dano.h b/gpsbabel/cet/nats_dano.h deleted file mode 100644 index beb3433a4..000000000 --- a/gpsbabel/cet/nats_dano.h +++ /dev/null @@ -1,136 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NATS-DANO" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nats_dano_h -#define nats_dano_h - -#define cet_cs_name_nats_dano "NATS-DANO" - -const char *cet_cs_alias_nats_dano[] = -{ - "NATS-DANO", "iso-ir-9-1", NULL -}; - -#define cet_ucs4_ofs_nats_dano 34 -#define cet_ucs4_cnt_nats_dano 94 - -const int cet_ucs4_map_nats_dano[cet_ucs4_cnt_nats_dano] = -{ - 0x00ab, 0x00bb, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, - 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, - 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, - 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0xe018, 0x0041, - 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, - 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, - 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, - 0x005a, 0x00c6, 0x00d8, 0x00c5, 0x25a0, 0x005f, 0xe019, 0x0061, - 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, - 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, - 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, - 0x007a, 0x00e6, 0x00f8, 0x00e5, 0x2013, 0x007f -}; - -#define cet_ucs4_to_nats_dano_ct 12 - -const cet_ucs4_link_t cet_ucs4_to_nats_dano_links[cet_ucs4_to_nats_dano_ct] = -{ - {0x00ab, 0x22} /* double angle quotation mark */, - {0x00bb, 0x23} /* double angle quotation mark */, - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00c6, 0x5b} /* capital letter ae */, - {0x00d8, 0x5c} /* capital letter o with stroke */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00e6, 0x7b} /* small letter ae */, - {0x00f8, 0x7c} /* small letter o with stroke */, - {0x2013, 0x7e} /* dash */, - {0x25a0, 0x5e} /* square */, - {0xe018, 0x40} /* space a (iso-ir-8-1 064) */, - {0xe019, 0x60} /* space b (iso-ir-8-1 096) */ -}; - -/* -#define cet_ucs4_to_nats_dano_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nats_dano_extra[cet_ucs4_to_nats_dano_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nats_dano = /* defined in cet.h */ -{ - cet_cs_name_nats_dano, /* name of character set */ - cet_cs_alias_nats_dano, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nats_dano, /* char to UCS-4 value table */ - cet_ucs4_ofs_nats_dano, /* first non standard character */ - cet_ucs4_cnt_nats_dano, /* number of values in table */ - - cet_ucs4_to_nats_dano_links, /* UCS-4 to char links */ - cet_ucs4_to_nats_dano_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nats_dano_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x00ab, 0x00bb, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0xe018, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c6, 0x00d8, 0x00c5, 0x25a0, 0x005f, - 0xe019, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e6, 0x00f8, 0x00e5, 0x2013, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nats_sefi.h b/gpsbabel/cet/nats_sefi.h deleted file mode 100644 index 93c0713ec..000000000 --- a/gpsbabel/cet/nats_sefi.h +++ /dev/null @@ -1,130 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NATS-SEFI" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nats_sefi_h -#define nats_sefi_h - -#define cet_cs_name_nats_sefi "NATS-SEFI" - -const char *cet_cs_alias_nats_sefi[] = -{ - "NATS-SEFI", "iso-ir-8-1", NULL -}; - -#define cet_ucs4_ofs_nats_sefi 64 -#define cet_ucs4_cnt_nats_sefi 64 - -const int cet_ucs4_map_nats_sefi[cet_ucs4_cnt_nats_sefi] = -{ - 0xe018, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00c5, 0x25a0, 0x005f, - 0xe019, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00e5, 0x2013, 0x007f -}; - -#define cet_ucs4_to_nats_sefi_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_nats_sefi_links[cet_ucs4_to_nats_sefi_ct] = -{ - {0x00c4, 0x5b} /* capital letter a with diaeresis */, - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00d6, 0x5c} /* capital letter o with diaeresis */, - {0x00e4, 0x7b} /* small letter a with diaeresis */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00f6, 0x7c} /* small letter o with diaeresis */, - {0x2013, 0x7e} /* dash */, - {0x25a0, 0x5e} /* square */, - {0xe018, 0x40} /* space a (iso-ir-8-1 064) */, - {0xe019, 0x60} /* space b (iso-ir-8-1 096) */ -}; - -/* -#define cet_ucs4_to_nats_sefi_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nats_sefi_extra[cet_ucs4_to_nats_sefi_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nats_sefi = /* defined in cet.h */ -{ - cet_cs_name_nats_sefi, /* name of character set */ - cet_cs_alias_nats_sefi, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nats_sefi, /* char to UCS-4 value table */ - cet_ucs4_ofs_nats_sefi, /* first non standard character */ - cet_ucs4_cnt_nats_sefi, /* number of values in table */ - - cet_ucs4_to_nats_sefi_links, /* UCS-4 to char links */ - cet_ucs4_to_nats_sefi_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nats_sefi_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0xe018, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00c5, 0x25a0, 0x005f, - 0xe019, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00e5, 0x2013, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nc_nc00_10.h b/gpsbabel/cet/nc_nc00_10.h deleted file mode 100644 index 256cc493c..000000000 --- a/gpsbabel/cet/nc_nc00_10.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NC_NC00-10" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nc_nc00_10_h -#define nc_nc00_10_h - -#define cet_cs_name_nc_nc00_10 "NC_NC00-10" - -const char *cet_cs_alias_nc_nc00_10[] = -{ - "NC_NC00-10", "cuba", "ISO646-CU", "iso-ir-151", - "NC_NC00-10:81", NULL -}; - -#define cet_ucs4_ofs_nc_nc00_10 36 -#define cet_ucs4_cnt_nc_nc00_10 92 - -const int cet_ucs4_map_nc_nc00_10[cet_ucs4_cnt_nc_nc00_10] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00a1, - 0x00d1, 0x005d, 0x00bf, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00b4, - 0x00f1, 0x005b, 0x00a8, 0x007f -}; - -#define cet_ucs4_to_nc_nc00_10_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_nc_nc00_10_links[cet_ucs4_to_nc_nc00_10_ct] = -{ - {0x005b, 0x7d} /* square bracket */, - {0x00a1, 0x5b} /* exclamation mark */, - {0x00a4, 0x24} /* sign */, - {0x00a8, 0x7e} /* diaeresis */, - {0x00b4, 0x7b} /* accent */, - {0x00bf, 0x5e} /* question mark */, - {0x00d1, 0x5c} /* capital letter n with tilde */, - {0x00f1, 0x7c} /* small letter n with tilde */ -}; - -/* -#define cet_ucs4_to_nc_nc00_10_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nc_nc00_10_extra[cet_ucs4_to_nc_nc00_10_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nc_nc00_10 = /* defined in cet.h */ -{ - cet_cs_name_nc_nc00_10, /* name of character set */ - cet_cs_alias_nc_nc00_10, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nc_nc00_10, /* char to UCS-4 value table */ - cet_ucs4_ofs_nc_nc00_10, /* first non standard character */ - cet_ucs4_cnt_nc_nc00_10, /* number of values in table */ - - cet_ucs4_to_nc_nc00_10_links, /* UCS-4 to char links */ - cet_ucs4_to_nc_nc00_10_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nc_nc00_10_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00a1, 0x00d1, 0x005d, 0x00bf, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00b4, 0x00f1, 0x005b, 0x00a8, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nextstep.h b/gpsbabel/cet/nextstep.h deleted file mode 100644 index f4e4a5d3a..000000000 --- a/gpsbabel/cet/nextstep.h +++ /dev/null @@ -1,240 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NeXTSTEP" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nextstep_h -#define nextstep_h - -#define cet_cs_name_nextstep "NeXTSTEP" - -const char *cet_cs_alias_nextstep[] = -{ - "NeXTSTEP", "next", NULL -}; - -#define cet_ucs4_ofs_nextstep 128 -#define cet_ucs4_cnt_nextstep 126 - -const int cet_ucs4_map_nextstep[cet_ucs4_cnt_nextstep] = -{ - 0x00a0, 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d9, - 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00b5, 0x00d7, 0x00f7, - 0x00a9, 0x00a1, 0x00a2, 0x00a3, 0x2044, 0x00a5, 0x0192, 0x00a7, - 0x00a4, -1, 0x201c, 0x00ab, -1, -1, 0xfb01, 0xfb02, - 0x00ae, 0x2013, 0x2020, 0x2021, 0x00b7, 0x00a6, 0x00b6, 0x2022, - -1, -1, 0x201d, 0x00bb, 0x2026, 0x2030, 0x00ac, 0x00bf, - 0x00b9, 0x02cb, 0x00b4, 0x02c6, 0x02dc, 0x00af, 0x02d8, 0x02d9, - 0x00a8, 0x00b2, 0x02da, 0x00b8, 0x00b3, 0x02dd, 0x02db, 0x02c7, - 0x2014, 0x00b1, 0x00bc, 0x00bd, 0x00be, 0x00e0, 0x00e1, 0x00e2, - 0x00e3, 0x00e4, 0x00e5, 0x00e7, 0x00e8, 0x00e9, 0x00ea, 0x00eb, - 0x00ec, 0x00c6, 0x00ed, 0x00aa, 0x00ee, 0x00ef, 0x00f0, 0x00f1, - 0x0141, 0x00d8, 0x0152, 0x00ba, 0x00f2, 0x00f3, 0x00f4, 0x00f5, - 0x00f6, 0x00e6, 0x00f9, 0x00fa, 0x00fb, 0x0131, 0x00fc, 0x00fd, - 0x0142, 0x00f8, 0x0153, 0x00df, 0x00fe, 0x00ff -}; - -#define cet_ucs4_to_nextstep_ct 112 - -const cet_ucs4_link_t cet_ucs4_to_nextstep_links[cet_ucs4_to_nextstep_ct] = -{ - {0x00a0, 0x80} /* space */, - {0x00a4, 0xa8} /* sign */, - {0x00a6, 0xb5} /* bar */, - {0x00a8, 0xc8} /* diaeresis */, - {0x00a9, 0xa0} /* sign */, - {0x00aa, 0xe3} /* ordinal indicator */, - {0x00ac, 0xbe} /* sign */, - {0x00ae, 0xb0} /* sign */, - {0x00af, 0xc5} /* macron */, - {0x00b1, 0xd1} /* sign */, - {0x00b2, 0xc9} /* two */, - {0x00b3, 0xcc} /* three */, - {0x00b4, 0xc2} /* accent */, - {0x00b5, 0x9d} /* sign */, - {0x00b7, 0xb4} /* dot */, - {0x00b8, 0xcb} /* cedilla */, - {0x00b9, 0xc0} /* one */, - {0x00ba, 0xeb} /* ordinal indicator */, - {0x00bc, 0xd2} /* fraction one quarter */, - {0x00bd, 0xd3} /* fraction one half */, - {0x00be, 0xd4} /* fraction three quarters */, - {0x00c0, 0x81} /* capital letter a with grave */, - {0x00c1, 0x82} /* capital letter a with acute */, - {0x00c2, 0x83} /* capital letter a with circumflex */, - {0x00c3, 0x84} /* capital letter a with tilde */, - {0x00c4, 0x85} /* capital letter a with diaeresis */, - {0x00c5, 0x86} /* capital letter a with ring above */, - {0x00c6, 0xe1} /* capital letter ae */, - {0x00c7, 0x87} /* capital letter c with cedilla */, - {0x00c8, 0x88} /* capital letter e with grave */, - {0x00c9, 0x89} /* capital letter e with acute */, - {0x00ca, 0x8a} /* capital letter e with circumflex */, - {0x00cb, 0x8b} /* capital letter e with diaeresis */, - {0x00cc, 0x8c} /* capital letter i with grave */, - {0x00cd, 0x8d} /* capital letter i with acute */, - {0x00ce, 0x8e} /* capital letter i with circumflex */, - {0x00cf, 0x8f} /* capital letter i with diaeresis */, - {0x00d0, 0x90} /* capital letter eth (icelandic) */, - {0x00d1, 0x91} /* capital letter n with tilde */, - {0x00d2, 0x92} /* capital letter o with grave */, - {0x00d3, 0x93} /* capital letter o with acute */, - {0x00d4, 0x94} /* capital letter o with circumflex */, - {0x00d5, 0x95} /* capital letter o with tilde */, - {0x00d6, 0x96} /* capital letter o with diaeresis */, - {0x00d7, 0x9e} /* sign */, - {0x00d8, 0xe9} /* capital letter o with stroke */, - {0x00d9, 0x97} /* capital letter u with grave */, - {0x00da, 0x98} /* capital letter u with acute */, - {0x00db, 0x99} /* capital letter u with circumflex */, - {0x00dc, 0x9a} /* capital letter u with diaeresis */, - {0x00dd, 0x9b} /* capital letter y with acute */, - {0x00de, 0x9c} /* capital letter thorn (icelandic) */, - {0x00df, 0xfb} /* small letter sharp s (german) */, - {0x00e0, 0xd5} /* small letter a with grave */, - {0x00e1, 0xd6} /* small letter a with acute */, - {0x00e2, 0xd7} /* small letter a with circumflex */, - {0x00e3, 0xd8} /* small letter a with tilde */, - {0x00e4, 0xd9} /* small letter a with diaeresis */, - {0x00e5, 0xda} /* small letter a with ring above */, - {0x00e6, 0xf1} /* small letter ae */, - {0x00e7, 0xdb} /* small letter c with cedilla */, - {0x00e8, 0xdc} /* small letter e with grave */, - {0x00e9, 0xdd} /* small letter e with acute */, - {0x00ea, 0xde} /* small letter e with circumflex */, - {0x00eb, 0xdf} /* small letter e with diaeresis */, - {0x00ec, 0xe0} /* small letter i with grave */, - {0x00ed, 0xe2} /* small letter i with acute */, - {0x00ee, 0xe4} /* small letter i with circumflex */, - {0x00ef, 0xe5} /* small letter i with diaeresis */, - {0x00f0, 0xe6} /* small letter eth (icelandic) */, - {0x00f1, 0xe7} /* small letter n with tilde */, - {0x00f2, 0xec} /* small letter o with grave */, - {0x00f3, 0xed} /* small letter o with acute */, - {0x00f4, 0xee} /* small letter o with circumflex */, - {0x00f5, 0xef} /* small letter o with tilde */, - {0x00f6, 0xf0} /* small letter o with diaeresis */, - {0x00f7, 0x9f} /* sign */, - {0x00f8, 0xf9} /* small letter o with stroke */, - {0x00f9, 0xf2} /* small letter u with grave */, - {0x00fa, 0xf3} /* small letter u with acute */, - {0x00fb, 0xf4} /* small letter u with circumflex */, - {0x00fc, 0xf6} /* small letter u with diaeresis */, - {0x00fd, 0xf7} /* small letter y with acute */, - {0x00fe, 0xfc} /* small letter thorn (icelandic) */, - {0x00ff, 0xfd} /* small letter y with diaeresis */, - {0x0131, 0xf5} /* small letter i dotless */, - {0x0141, 0xe8} /* capital letter l with stroke */, - {0x0142, 0xf8} /* small letter l with stroke */, - {0x0152, 0xea} /* capital ligature oe */, - {0x0153, 0xfa} /* small ligature oe */, - {0x0192, 0xa6} /* minuscule latine f hameçon */, - {0x02c6, 0xc3} /* modificative accent circonflexe */, - {0x02c7, 0xcf} /* caron */, - {0x02cb, 0xc1} /* modificative accent grave */, - {0x02d8, 0xc6} /* breve */, - {0x02d9, 0xc7} /* above */, - {0x02da, 0xca} /* above */, - {0x02db, 0xce} /* ogonek */, - {0x02dc, 0xc4} /* tilde */, - {0x02dd, 0xcd} /* acute accent */, - {0x2013, 0xb1} /* dash */, - {0x2014, 0xd0} /* dash */, - {0x201c, 0xaa} /* double quotation mark */, - {0x201d, 0xba} /* double quotation mark */, - {0x2020, 0xb2} /* dagger */, - {0x2021, 0xb3} /* dagger */, - {0x2022, 0xb7} /* puce */, - {0x2026, 0xbc} /* horizontal ellipsis */, - {0x2030, 0xbd} /* mille sign */, - {0x2044, 0xa4} /* slash */, - {0xfb01, 0xae} /* small ligature fi */, - {0xfb02, 0xaf} /* small ligature fl */ -}; - -/* -#define cet_ucs4_to_nextstep_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nextstep_extra[cet_ucs4_to_nextstep_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nextstep = /* defined in cet.h */ -{ - cet_cs_name_nextstep, /* name of character set */ - cet_cs_alias_nextstep, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nextstep, /* char to UCS-4 value table */ - cet_ucs4_ofs_nextstep, /* first non standard character */ - cet_ucs4_cnt_nextstep, /* number of values in table */ - - cet_ucs4_to_nextstep_links, /* UCS-4 to char links */ - cet_ucs4_to_nextstep_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nextstep_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00a0, 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c7, - 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, - 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d9, - 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00b5, 0x00d7, 0x00f7, - 0x00a9, 0x00a1, 0x00a2, 0x00a3, 0x2044, 0x00a5, 0x0192, 0x00a7, - 0x00a4, -1, 0x201c, 0x00ab, -1, -1, 0xfb01, 0xfb02, - 0x00ae, 0x2013, 0x2020, 0x2021, 0x00b7, 0x00a6, 0x00b6, 0x2022, - -1, -1, 0x201d, 0x00bb, 0x2026, 0x2030, 0x00ac, 0x00bf, - 0x00b9, 0x02cb, 0x00b4, 0x02c6, 0x02dc, 0x00af, 0x02d8, 0x02d9, - 0x00a8, 0x00b2, 0x02da, 0x00b8, 0x00b3, 0x02dd, 0x02db, 0x02c7, - 0x2014, 0x00b1, 0x00bc, 0x00bd, 0x00be, 0x00e0, 0x00e1, 0x00e2, - 0x00e3, 0x00e4, 0x00e5, 0x00e7, 0x00e8, 0x00e9, 0x00ea, 0x00eb, - 0x00ec, 0x00c6, 0x00ed, 0x00aa, 0x00ee, 0x00ef, 0x00f0, 0x00f1, - 0x0141, 0x00d8, 0x0152, 0x00ba, 0x00f2, 0x00f3, 0x00f4, 0x00f5, - 0x00f6, 0x00e6, 0x00f9, 0x00fa, 0x00fb, 0x0131, 0x00fc, 0x00fd, - 0x0142, 0x00f8, 0x0153, 0x00df, 0x00fe, 0x00ff, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nf_z_62_010.h b/gpsbabel/cet/nf_z_62_010.h deleted file mode 100644 index 97a0cea8f..000000000 --- a/gpsbabel/cet/nf_z_62_010.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NF_Z_62-010" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nf_z_62_010_h -#define nf_z_62_010_h - -#define cet_cs_name_nf_z_62_010 "NF_Z_62-010" - -const char *cet_cs_alias_nf_z_62_010[] = -{ - "NF_Z_62-010", "fr", "ISO646-FR", "iso-ir-69", - NULL -}; - -#define cet_ucs4_ofs_nf_z_62_010 35 -#define cet_ucs4_cnt_nf_z_62_010 93 - -const int cet_ucs4_map_nf_z_62_010[cet_ucs4_cnt_nf_z_62_010] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x00e0, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x00b0, 0x00e7, 0x00a7, 0x005e, 0x005f, 0x00b5, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e9, 0x00f9, 0x00e8, 0x00a8, 0x007f -}; - -#define cet_ucs4_to_nf_z_62_010_ct 10 - -const cet_ucs4_link_t cet_ucs4_to_nf_z_62_010_links[cet_ucs4_to_nf_z_62_010_ct] = -{ - {0x00a3, 0x23} /* sign */, - {0x00a7, 0x5d} /* sign */, - {0x00a8, 0x7e} /* diaeresis */, - {0x00b0, 0x5b} /* sign */, - {0x00b5, 0x60} /* sign */, - {0x00e0, 0x40} /* small letter a with grave */, - {0x00e7, 0x5c} /* small letter c with cedilla */, - {0x00e8, 0x7d} /* small letter e with grave */, - {0x00e9, 0x7b} /* small letter e with acute */, - {0x00f9, 0x7c} /* small letter u with grave */ -}; - -/* -#define cet_ucs4_to_nf_z_62_010_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nf_z_62_010_extra[cet_ucs4_to_nf_z_62_010_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nf_z_62_010 = /* defined in cet.h */ -{ - cet_cs_name_nf_z_62_010, /* name of character set */ - cet_cs_alias_nf_z_62_010, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nf_z_62_010, /* char to UCS-4 value table */ - cet_ucs4_ofs_nf_z_62_010, /* first non standard character */ - cet_ucs4_cnt_nf_z_62_010, /* number of values in table */ - - cet_ucs4_to_nf_z_62_010_links, /* UCS-4 to char links */ - cet_ucs4_to_nf_z_62_010_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nf_z_62_010_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00b0, 0x00e7, 0x00a7, 0x005e, 0x005f, - 0x00b5, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00a8, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/nf_z_62_010__1973_.h b/gpsbabel/cet/nf_z_62_010__1973_.h deleted file mode 100644 index b1b027cad..000000000 --- a/gpsbabel/cet/nf_z_62_010__1973_.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NF_Z_62-010_(1973)" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef nf_z_62_010__1973__h -#define nf_z_62_010__1973__h - -#define cet_cs_name_nf_z_62_010__1973_ "NF_Z_62-010_(1973)" - -const char *cet_cs_alias_nf_z_62_010__1973_[] = -{ - "NF_Z_62-010_(1973)", "ISO646-FR1", "iso-ir-25", NULL -}; - -#define cet_ucs4_ofs_nf_z_62_010__1973_ 35 -#define cet_ucs4_cnt_nf_z_62_010__1973_ 93 - -const int cet_ucs4_map_nf_z_62_010__1973_[cet_ucs4_cnt_nf_z_62_010__1973_] = -{ - 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x00e0, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x00b0, 0x00e7, 0x00a7, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e9, 0x00f9, 0x00e8, 0x00a8, 0x007f -}; - -#define cet_ucs4_to_nf_z_62_010__1973__ct 9 - -const cet_ucs4_link_t cet_ucs4_to_nf_z_62_010__1973__links[cet_ucs4_to_nf_z_62_010__1973__ct] = -{ - {0x00a3, 0x23} /* sign */, - {0x00a7, 0x5d} /* sign */, - {0x00a8, 0x7e} /* diaeresis */, - {0x00b0, 0x5b} /* sign */, - {0x00e0, 0x40} /* small letter a with grave */, - {0x00e7, 0x5c} /* small letter c with cedilla */, - {0x00e8, 0x7d} /* small letter e with grave */, - {0x00e9, 0x7b} /* small letter e with acute */, - {0x00f9, 0x7c} /* small letter u with grave */ -}; - -/* -#define cet_ucs4_to_nf_z_62_010__1973__extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_nf_z_62_010__1973__extra[cet_ucs4_to_nf_z_62_010__1973__extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_nf_z_62_010__1973_ = /* defined in cet.h */ -{ - cet_cs_name_nf_z_62_010__1973_, /* name of character set */ - cet_cs_alias_nf_z_62_010__1973_, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_nf_z_62_010__1973_, /* char to UCS-4 value table */ - cet_ucs4_ofs_nf_z_62_010__1973_, /* first non standard character */ - cet_ucs4_cnt_nf_z_62_010__1973_, /* number of values in table */ - - cet_ucs4_to_nf_z_62_010__1973__links, /* UCS-4 to char links */ - cet_ucs4_to_nf_z_62_010__1973__ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int nf_z_62_010__1973__ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00e0, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00b0, 0x00e7, 0x00a7, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e9, 0x00f9, 0x00e8, 0x00a8, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ns_4551_1.h b/gpsbabel/cet/ns_4551_1.h deleted file mode 100644 index edad059e4..000000000 --- a/gpsbabel/cet/ns_4551_1.h +++ /dev/null @@ -1,125 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NS_4551-1" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ns_4551_1_h -#define ns_4551_1_h - -#define cet_cs_name_ns_4551_1 "NS_4551-1" - -const char *cet_cs_alias_ns_4551_1[] = -{ - "NS_4551-1", "ISO646-NO", "iso-ir-60", "no", - NULL -}; - -#define cet_ucs4_ofs_ns_4551_1 91 -#define cet_ucs4_cnt_ns_4551_1 37 - -const int cet_ucs4_map_ns_4551_1[cet_ucs4_cnt_ns_4551_1] = -{ - 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e6, 0x00f8, 0x00e5, 0x203e, 0x007f -}; - -#define cet_ucs4_to_ns_4551_1_ct 7 - -const cet_ucs4_link_t cet_ucs4_to_ns_4551_1_links[cet_ucs4_to_ns_4551_1_ct] = -{ - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00c6, 0x5b} /* capital letter ae */, - {0x00d8, 0x5c} /* capital letter o with stroke */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00e6, 0x7b} /* small letter ae */, - {0x00f8, 0x7c} /* small letter o with stroke */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_ns_4551_1_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ns_4551_1_extra[cet_ucs4_to_ns_4551_1_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ns_4551_1 = /* defined in cet.h */ -{ - cet_cs_name_ns_4551_1, /* name of character set */ - cet_cs_alias_ns_4551_1, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ns_4551_1, /* char to UCS-4 value table */ - cet_ucs4_ofs_ns_4551_1, /* first non standard character */ - cet_ucs4_cnt_ns_4551_1, /* number of values in table */ - - cet_ucs4_to_ns_4551_1_links, /* UCS-4 to char links */ - cet_ucs4_to_ns_4551_1_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ns_4551_1_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e6, 0x00f8, 0x00e5, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/ns_4551_2.h b/gpsbabel/cet/ns_4551_2.h deleted file mode 100644 index 9b21e20e2..000000000 --- a/gpsbabel/cet/ns_4551_2.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "NS_4551-2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef ns_4551_2_h -#define ns_4551_2_h - -#define cet_cs_name_ns_4551_2 "NS_4551-2" - -const char *cet_cs_alias_ns_4551_2[] = -{ - "NS_4551-2", "ISO646-NO2", "iso-ir-61", "no2", - NULL -}; - -#define cet_ucs4_ofs_ns_4551_2 35 -#define cet_ucs4_cnt_ns_4551_2 93 - -const int cet_ucs4_map_ns_4551_2[cet_ucs4_cnt_ns_4551_2] = -{ - 0x00a7, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, - 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, - 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, - 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, - 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, - 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, - 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, - 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, - 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, - 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, - 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, - 0x00e6, 0x00f8, 0x00e5, 0x007c, 0x007f -}; - -#define cet_ucs4_to_ns_4551_2_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_ns_4551_2_links[cet_ucs4_to_ns_4551_2_ct] = -{ - {0x007c, 0x7e} /* line */, - {0x00a7, 0x23} /* sign */, - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00c6, 0x5b} /* capital letter ae */, - {0x00d8, 0x5c} /* capital letter o with stroke */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00e6, 0x7b} /* small letter ae */, - {0x00f8, 0x7c} /* small letter o with stroke */ -}; - -/* -#define cet_ucs4_to_ns_4551_2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_ns_4551_2_extra[cet_ucs4_to_ns_4551_2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_ns_4551_2 = /* defined in cet.h */ -{ - cet_cs_name_ns_4551_2, /* name of character set */ - cet_cs_alias_ns_4551_2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_ns_4551_2, /* char to UCS-4 value table */ - cet_ucs4_ofs_ns_4551_2, /* first non standard character */ - cet_ucs4_cnt_ns_4551_2, /* number of values in table */ - - cet_ucs4_to_ns_4551_2_links, /* UCS-4 to char links */ - cet_ucs4_to_ns_4551_2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int ns_4551_2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x00a7, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c6, 0x00d8, 0x00c5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e6, 0x00f8, 0x00e5, 0x007c, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/pt.h b/gpsbabel/cet/pt.h deleted file mode 100644 index d664042c7..000000000 --- a/gpsbabel/cet/pt.h +++ /dev/null @@ -1,128 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "PT" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef pt_h -#define pt_h - -#define cet_cs_name_pt "PT" - -const char *cet_cs_alias_pt[] = -{ - "PT", "ISO646-PT", "iso-ir-16", NULL -}; - -#define cet_ucs4_ofs_pt 64 -#define cet_ucs4_cnt_pt 64 - -const int cet_ucs4_map_pt[cet_ucs4_cnt_pt] = -{ - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c3, 0x00c7, 0x00d5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e3, 0x00e7, 0x00f5, 0x00b0, 0x007f -}; - -#define cet_ucs4_to_pt_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_pt_links[cet_ucs4_to_pt_ct] = -{ - {0x00a7, 0x40} /* sign */, - {0x00b0, 0x7e} /* sign */, - {0x00c3, 0x5b} /* capital letter a with tilde */, - {0x00c7, 0x5c} /* capital letter c with cedilla */, - {0x00d5, 0x5d} /* capital letter o with tilde */, - {0x00e3, 0x7b} /* small letter a with tilde */, - {0x00e7, 0x7c} /* small letter c with cedilla */, - {0x00f5, 0x7d} /* small letter o with tilde */ -}; - -/* -#define cet_ucs4_to_pt_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_pt_extra[cet_ucs4_to_pt_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_pt = /* defined in cet.h */ -{ - cet_cs_name_pt, /* name of character set */ - cet_cs_alias_pt, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_pt, /* char to UCS-4 value table */ - cet_ucs4_ofs_pt, /* first non standard character */ - cet_ucs4_cnt_pt, /* number of values in table */ - - cet_ucs4_to_pt_links, /* UCS-4 to char links */ - cet_ucs4_to_pt_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int pt_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00a7, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c3, 0x00c7, 0x00d5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e3, 0x00e7, 0x00f5, 0x00b0, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/pt2.h b/gpsbabel/cet/pt2.h deleted file mode 100644 index fcbb01c82..000000000 --- a/gpsbabel/cet/pt2.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "PT2" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef pt2_h -#define pt2_h - -#define cet_cs_name_pt2 "PT2" - -const char *cet_cs_alias_pt2[] = -{ - "PT2", "ISO646-PT2", "iso-ir-84", NULL -}; - -#define cet_ucs4_ofs_pt2 64 -#define cet_ucs4_cnt_pt2 64 - -const int cet_ucs4_map_pt2[cet_ucs4_cnt_pt2] = -{ - 0x00b4, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c3, 0x00c7, 0x00d5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e3, 0x00e7, 0x00f5, 0x007e, 0x007f -}; - -#define cet_ucs4_to_pt2_ct 7 - -const cet_ucs4_link_t cet_ucs4_to_pt2_links[cet_ucs4_to_pt2_ct] = -{ - {0x00b4, 0x40} /* accent */, - {0x00c3, 0x5b} /* capital letter a with tilde */, - {0x00c7, 0x5c} /* capital letter c with cedilla */, - {0x00d5, 0x5d} /* capital letter o with tilde */, - {0x00e3, 0x7b} /* small letter a with tilde */, - {0x00e7, 0x7c} /* small letter c with cedilla */, - {0x00f5, 0x7d} /* small letter o with tilde */ -}; - -/* -#define cet_ucs4_to_pt2_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_pt2_extra[cet_ucs4_to_pt2_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_pt2 = /* defined in cet.h */ -{ - cet_cs_name_pt2, /* name of character set */ - cet_cs_alias_pt2, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_pt2, /* char to UCS-4 value table */ - cet_ucs4_ofs_pt2, /* first non standard character */ - cet_ucs4_cnt_pt2, /* number of values in table */ - - cet_ucs4_to_pt2_links, /* UCS-4 to char links */ - cet_ucs4_to_pt2_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int pt2_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00b4, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c3, 0x00c7, 0x00d5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e3, 0x00e7, 0x00f5, 0x007e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/sami.h b/gpsbabel/cet/sami.h deleted file mode 100644 index 4dfce1713..000000000 --- a/gpsbabel/cet/sami.h +++ /dev/null @@ -1,157 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "sami" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef sami_h -#define sami_h - -#define cet_cs_name_sami "sami" - -const char *cet_cs_alias_sami[] = -{ - "sami", "iso-ir-158", "lap", "latin-lap", - NULL -}; - -#define cet_ucs4_ofs_sami 160 -#define cet_ucs4_cnt_sami 80 - -const int cet_ucs4_map_sami[cet_ucs4_cnt_sami] = -{ - 0x00b4, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x02bb, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x0102, 0x00c0, 0x01de, 0x01e0, 0x01e2, 0x0114, 0x00c8, 0x01e4, - 0x01e6, 0x01e8, 0x014e, 0x00d2, 0x01ea, 0x01ec, 0x01b7, 0x01ee, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x0103, 0x00e0, 0x01df, 0x01e1, 0x01e3, 0x0115, 0x00e8, 0x01e5, - 0x01e7, 0x01e9, 0x014f, 0x00f2, 0x01eb, 0x01ed, 0x0292, 0x01ef -}; - -#define cet_ucs4_to_sami_ct 34 - -const cet_ucs4_link_t cet_ucs4_to_sami_links[cet_ucs4_to_sami_ct] = -{ - {0x00b4, 0xa0} /* accent */, - {0x00c0, 0xc1} /* capital letter a with grave */, - {0x00c8, 0xc6} /* capital letter e with grave */, - {0x00d2, 0xcb} /* capital letter o with grave */, - {0x00e0, 0xe1} /* small letter a with grave */, - {0x00e8, 0xe6} /* small letter e with grave */, - {0x00f2, 0xeb} /* small letter o with grave */, - {0x0102, 0xc0} /* capital letter a with breve */, - {0x0103, 0xe0} /* small letter a with breve */, - {0x0114, 0xc5} /* capital letter e with breve */, - {0x0115, 0xe5} /* small letter e with breve */, - {0x014e, 0xca} /* capital letter o with breve */, - {0x014f, 0xea} /* small letter o with breve */, - {0x01b7, 0xce} /* capital letter ezh */, - {0x01de, 0xc2} /* capital letter a with diaeresis and macron */, - {0x01df, 0xe2} /* small letter a with diaeresis and macron */, - {0x01e0, 0xc3} /* capital letter a with dot above and macron */, - {0x01e1, 0xe3} /* small letter a with dot above and macron */, - {0x01e2, 0xc4} /* capital letter ae with macron */, - {0x01e3, 0xe4} /* small letter ae with macron */, - {0x01e4, 0xc7} /* capital letter g with stroke */, - {0x01e5, 0xe7} /* small letter g with stroke */, - {0x01e6, 0xc8} /* capital letter g with caron */, - {0x01e7, 0xe8} /* small letter g with caron */, - {0x01e8, 0xc9} /* capital letter k with caron */, - {0x01e9, 0xe9} /* small letter k with caron */, - {0x01ea, 0xcc} /* capital letter o with ogonek */, - {0x01eb, 0xec} /* small letter o with ogonek */, - {0x01ec, 0xcd} /* capital letter o with ogonek and macron */, - {0x01ed, 0xed} /* small letter o with ogonek and macron */, - {0x01ee, 0xcf} /* capital letter ezh with caron */, - {0x01ef, 0xef} /* small letter ezh with caron */, - {0x0292, 0xee} /* small letter ezh (iso-ir-158 142) */, - {0x02bb, 0xb0} /* letter left half ring */ -}; - -/* -#define cet_ucs4_to_sami_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_sami_extra[cet_ucs4_to_sami_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_sami = /* defined in cet.h */ -{ - cet_cs_name_sami, /* name of character set */ - cet_cs_alias_sami, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_sami, /* char to UCS-4 value table */ - cet_ucs4_ofs_sami, /* first non standard character */ - cet_ucs4_cnt_sami, /* number of values in table */ - - cet_ucs4_to_sami_links, /* UCS-4 to char links */ - cet_ucs4_to_sami_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int sami_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, - 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, - 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, - 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, - 0x00b4, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x02bb, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x0102, 0x00c0, 0x01de, 0x01e0, 0x01e2, 0x0114, 0x00c8, 0x01e4, - 0x01e6, 0x01e8, 0x014e, 0x00d2, 0x01ea, 0x01ec, 0x01b7, 0x01ee, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - 0x0103, 0x00e0, 0x01df, 0x01e1, 0x01e3, 0x0115, 0x00e8, 0x01e5, - 0x01e7, 0x01e9, 0x014f, 0x00f2, 0x01eb, 0x01ed, 0x0292, 0x01ef, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/sen_850200_b.h b/gpsbabel/cet/sen_850200_b.h deleted file mode 100644 index 0c3123199..000000000 --- a/gpsbabel/cet/sen_850200_b.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "SEN_850200_B" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef sen_850200_b_h -#define sen_850200_b_h - -#define cet_cs_name_sen_850200_b "SEN_850200_B" - -const char *cet_cs_alias_sen_850200_b[] = -{ - "SEN_850200_B", "FI", "ISO646-FI", "ISO646-SE", - "iso-ir-10", "se", "SS636127", NULL -}; - -#define cet_ucs4_ofs_sen_850200_b 36 -#define cet_ucs4_cnt_sen_850200_b 92 - -const int cet_ucs4_map_sen_850200_b[cet_ucs4_cnt_sen_850200_b] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00c4, - 0x00d6, 0x00c5, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00e4, - 0x00f6, 0x00e5, 0x203e, 0x007f -}; - -#define cet_ucs4_to_sen_850200_b_ct 8 - -const cet_ucs4_link_t cet_ucs4_to_sen_850200_b_links[cet_ucs4_to_sen_850200_b_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x00c4, 0x5b} /* capital letter a with diaeresis */, - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00d6, 0x5c} /* capital letter o with diaeresis */, - {0x00e4, 0x7b} /* small letter a with diaeresis */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00f6, 0x7c} /* small letter o with diaeresis */, - {0x203e, 0x7e} /* overline */ -}; - -/* -#define cet_ucs4_to_sen_850200_b_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_sen_850200_b_extra[cet_ucs4_to_sen_850200_b_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_sen_850200_b = /* defined in cet.h */ -{ - cet_cs_name_sen_850200_b, /* name of character set */ - cet_cs_alias_sen_850200_b, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_sen_850200_b, /* char to UCS-4 value table */ - cet_ucs4_ofs_sen_850200_b, /* first non standard character */ - cet_ucs4_cnt_sen_850200_b, /* number of values in table */ - - cet_ucs4_to_sen_850200_b_links, /* UCS-4 to char links */ - cet_ucs4_to_sen_850200_b_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int sen_850200_b_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00c5, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00e5, 0x203e, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/sen_850200_c.h b/gpsbabel/cet/sen_850200_c.h deleted file mode 100644 index 606157b0b..000000000 --- a/gpsbabel/cet/sen_850200_c.h +++ /dev/null @@ -1,136 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "SEN_850200_C" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef sen_850200_c_h -#define sen_850200_c_h - -#define cet_cs_name_sen_850200_c "SEN_850200_C" - -const char *cet_cs_alias_sen_850200_c[] = -{ - "SEN_850200_C", "ISO646-SE2", "iso-ir-11", "se2", - NULL -}; - -#define cet_ucs4_ofs_sen_850200_c 36 -#define cet_ucs4_cnt_sen_850200_c 92 - -const int cet_ucs4_map_sen_850200_c[cet_ucs4_cnt_sen_850200_c] = -{ - 0x00a4, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, - 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, - 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, - 0x003c, 0x003d, 0x003e, 0x003f, 0x00c9, 0x0041, 0x0042, 0x0043, - 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, - 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, - 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x00c4, - 0x00d6, 0x00c5, 0x00dc, 0x005f, 0x00e9, 0x0061, 0x0062, 0x0063, - 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, - 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, - 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x00e4, - 0x00f6, 0x00e5, 0x00fc, 0x007f -}; - -#define cet_ucs4_to_sen_850200_c_ct 11 - -const cet_ucs4_link_t cet_ucs4_to_sen_850200_c_links[cet_ucs4_to_sen_850200_c_ct] = -{ - {0x00a4, 0x24} /* sign */, - {0x00c4, 0x5b} /* capital letter a with diaeresis */, - {0x00c5, 0x5d} /* capital letter a with ring above */, - {0x00c9, 0x40} /* capital letter e with acute */, - {0x00d6, 0x5c} /* capital letter o with diaeresis */, - {0x00dc, 0x5e} /* capital letter u with diaeresis */, - {0x00e4, 0x7b} /* small letter a with diaeresis */, - {0x00e5, 0x7d} /* small letter a with ring above */, - {0x00e9, 0x60} /* small letter e with acute */, - {0x00f6, 0x7c} /* small letter o with diaeresis */, - {0x00fc, 0x7e} /* small letter u with diaeresis */ -}; - -/* -#define cet_ucs4_to_sen_850200_c_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_sen_850200_c_extra[cet_ucs4_to_sen_850200_c_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_sen_850200_c = /* defined in cet.h */ -{ - cet_cs_name_sen_850200_c, /* name of character set */ - cet_cs_alias_sen_850200_c, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_sen_850200_c, /* char to UCS-4 value table */ - cet_ucs4_ofs_sen_850200_c, /* first non standard character */ - cet_ucs4_cnt_sen_850200_c, /* number of values in table */ - - cet_ucs4_to_sen_850200_c_links, /* UCS-4 to char links */ - cet_ucs4_to_sen_850200_c_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int sen_850200_c_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x00c9, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x00c4, 0x00d6, 0x00c5, 0x00dc, 0x005f, - 0x00e9, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x00e4, 0x00f6, 0x00e5, 0x00fc, 0x007f, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1 -}; -*/ - -#endif diff --git a/gpsbabel/cet/tcvn.h b/gpsbabel/cet/tcvn.h deleted file mode 100644 index 894c0b025..000000000 --- a/gpsbabel/cet/tcvn.h +++ /dev/null @@ -1,278 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "TCVN" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef tcvn_h -#define tcvn_h - -#define cet_cs_name_tcvn "TCVN" - -const char *cet_cs_alias_tcvn[] = -{ - "TCVN", "TCVN5712-1", "TCVN5712-1:1993", "TCVN-5712", - NULL -}; - -#define cet_ucs4_ofs_tcvn 1 -#define cet_ucs4_cnt_tcvn 255 - -const int cet_ucs4_map_tcvn[cet_ucs4_cnt_tcvn] = -{ - 0x00da, 0x1ee4, 0x0003, 0x1eea, 0x1eec, 0x1eee, 0x0007, 0x0008, - 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, - 0x1ee8, 0x1ef0, 0x1ef2, 0x1ef6, 0x1ef8, 0x00dd, 0x1ef4, 0x0018, - 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, 0x0020, - 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, - 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, - 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, - 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, - 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, - 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, - 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, - 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, - 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, - 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, - 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, - 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x00c0, - 0x1ea2, 0x00c3, 0x00c1, 0x1ea0, 0x1eb6, 0x1eac, 0x00c8, 0x1eba, - 0x1ebc, 0x00c9, 0x1eb8, 0x1ec6, 0x00cc, 0x1ec8, 0x0128, 0x00cd, - 0x1eca, 0x00d2, 0x1ece, 0x00d5, 0x00d3, 0x1ecc, 0x1ed8, 0x1edc, - 0x1ede, 0x1ee0, 0x1eda, 0x1ee2, 0x00d9, 0x1ee6, 0x0168, -1, - 0x0102, 0x00c2, 0x00ca, 0x00d4, 0x01a0, 0x01af, 0x0110, 0x0103, - 0x00e2, 0x00ea, 0x00f4, 0x01a1, 0x01b0, 0x0111, 0x1eb0, -1, - -1, -1, -1, -1, 0x00e0, 0x1ea3, 0x00e3, 0x00e1, - 0x1ea1, 0x1eb2, 0x1eb1, 0x1eb3, 0x1eb5, 0x1eaf, 0x1eb4, 0x1eae, - 0x1ea6, 0x1ea8, 0x1eaa, 0x1ea4, 0x1ec0, 0x1eb7, 0x1ea7, 0x1ea9, - 0x1eab, 0x1ea5, 0x1ead, 0x00e8, 0x1ec2, 0x1ebb, 0x1ebd, 0x00e9, - 0x1eb9, 0x1ec1, 0x1ec3, 0x1ec5, 0x1ebf, 0x1ec7, 0x00ec, 0x1ec9, - 0x1ec4, 0x1ebe, 0x1ed2, 0x0129, 0x00ed, 0x1ecb, 0x00f2, 0x1ed4, - 0x1ecf, 0x00f5, 0x00f3, 0x1ecd, 0x1ed3, 0x1ed5, 0x1ed7, 0x1ed1, - 0x1ed9, 0x1edd, 0x1edf, 0x1ee1, 0x1edb, 0x1ee3, 0x00f9, 0x1ed6, - 0x1ee7, 0x0169, 0x00fa, 0x1ee5, 0x1eeb, 0x1eed, 0x1eef, 0x1ee9, - 0x1ef1, 0x1ef3, 0x1ef7, 0x1ef9, 0x00fd, 0x1ef5, 0x1ed0 -}; - -#define cet_ucs4_to_tcvn_ct 133 - -const cet_ucs4_link_t cet_ucs4_to_tcvn_links[cet_ucs4_to_tcvn_ct] = -{ - {0x00c0, 0x80} /* capital letter a with grave */, - {0x00c1, 0x83} /* capital letter a with acute */, - {0x00c2, 0xa2} /* capital letter a with circumflex */, - {0x00c3, 0x82} /* capital letter a with tilde */, - {0x00c8, 0x87} /* capital letter e with grave */, - {0x00c9, 0x8a} /* capital letter e with acute */, - {0x00ca, 0xa3} /* capital letter e with circumflex */, - {0x00cc, 0x8d} /* capital letter i with grave */, - {0x00cd, 0x90} /* capital letter i with acute */, - {0x00d2, 0x92} /* capital letter o with grave */, - {0x00d3, 0x95} /* capital letter o with acute */, - {0x00d4, 0xa4} /* capital letter o with circumflex */, - {0x00d5, 0x94} /* capital letter o with tilde */, - {0x00d9, 0x9d} /* capital letter u with grave */, - {0x00da, 0x01} /* capital letter u with acute */, - {0x00dd, 0x16} /* capital letter y with acute */, - {0x00e0, 0xb5} /* small letter a with grave */, - {0x00e1, 0xb8} /* small letter a with acute */, - {0x00e2, 0xa9} /* small letter a with circumflex */, - {0x00e3, 0xb7} /* small letter a with tilde */, - {0x00e8, 0xcc} /* small letter e with grave */, - {0x00e9, 0xd0} /* small letter e with acute */, - {0x00ea, 0xaa} /* small letter e with circumflex */, - {0x00ec, 0xd7} /* small letter i with grave */, - {0x00ed, 0xdd} /* small letter i with acute */, - {0x00f2, 0xdf} /* small letter o with grave */, - {0x00f3, 0xe3} /* small letter o with acute */, - {0x00f4, 0xab} /* small letter o with circumflex */, - {0x00f5, 0xe2} /* small letter o with tilde */, - {0x00f9, 0xef} /* small letter u with grave */, - {0x00fa, 0xf3} /* small letter u with acute */, - {0x0102, 0xa1} /* capital letter a with breve */, - {0x0103, 0xa8} /* small letter a with breve */, - {0x0110, 0xa7} /* capital letter d with stroke */, - {0x0111, 0xae} /* small letter d with stroke */, - {0x0128, 0x8f} /* capital letter i with tilde */, - {0x0129, 0xdc} /* small letter i with tilde */, - {0x0168, 0x9f} /* capital letter u with tilde */, - {0x0169, 0xf2} /* small letter u with tilde */, - {0x01a0, 0xa5} /* capital letter o with horn */, - {0x01a1, 0xac} /* small letter o with horn */, - {0x01af, 0xa6} /* capital letter u with horn */, - {0x01b0, 0xad} /* small letter u with horn */, - {0x1ea0, 0x84} /* capital letter a with dot below */, - {0x1ea1, 0xb9} /* small letter a with dot below */, - {0x1ea2, 0x81} /* capital letter a with hook above */, - {0x1ea3, 0xb6} /* small letter a with hook above */, - {0x1ea4, 0xc4} /* capital letter a with circumflex and acute */, - {0x1ea5, 0xca} /* small letter a with circumflex and acute */, - {0x1ea6, 0xc1} /* capital letter a with circumflex and grave */, - {0x1ea7, 0xc7} /* small letter a with circumflex and grave */, - {0x1ea8, 0xc2} /* capital letter a with circumflex and hook above */, - {0x1ea9, 0xc8} /* small letter a with circumflex and hook above */, - {0x1eaa, 0xc3} /* capital letter a with circumflex and tilde */, - {0x1eab, 0xc9} /* small letter a with circumflex and tilde */, - {0x1eac, 0x86} /* latine a accent circonflexe et point souscrit */, - {0x1ead, 0xcb} /* latine a accent circonflexe et point souscrit */, - {0x1eae, 0xc0} /* capital letter a with breve and acute */, - {0x1eaf, 0xbe} /* small letter a with breve and acute */, - {0x1eb0, 0xaf} /* capital letter a with breve and grave */, - {0x1eb1, 0xbb} /* small letter a with breve and grave */, - {0x1eb2, 0xba} /* capital letter a with breve and hook above */, - {0x1eb3, 0xbc} /* small letter a with breve and hook above */, - {0x1eb4, 0xbf} /* capital letter a with breve and tilde */, - {0x1eb5, 0xbd} /* small letter a with breve and tilde */, - {0x1eb6, 0x85} /* latine a brève et point souscrit */, - {0x1eb7, 0xc6} /* latine a brève et point souscrit */, - {0x1eb8, 0x8b} /* capital letter e with dot below */, - {0x1eb9, 0xd1} /* small letter e with dot below */, - {0x1eba, 0x88} /* capital letter e with hook above */, - {0x1ebb, 0xce} /* small letter e with hook above */, - {0x1ebc, 0x89} /* capital letter e with tilde */, - {0x1ebd, 0xcf} /* small letter e with tilde */, - {0x1ebe, 0xda} /* capital letter e with circumflex and acute */, - {0x1ebf, 0xd5} /* small letter e with circumflex and acute */, - {0x1ec0, 0xc5} /* capital letter e with circumflex and grave */, - {0x1ec1, 0xd2} /* small letter e with circumflex and grave */, - {0x1ec2, 0xcd} /* capital letter e with circumflex and hook above */, - {0x1ec3, 0xd3} /* small letter e with circumflex and hook above */, - {0x1ec4, 0xd9} /* capital letter e with circumflex and tilde */, - {0x1ec5, 0xd4} /* small letter e with circumflex and tilde */, - {0x1ec6, 0x8c} /* latine e accent circonflexe et point souscrit */, - {0x1ec7, 0xd6} /* latine e accent circonflexe et point souscrit */, - {0x1ec8, 0x8e} /* capital letter i with hook above */, - {0x1ec9, 0xd8} /* small letter i with hook above */, - {0x1eca, 0x91} /* capital letter i with dot below */, - {0x1ecb, 0xde} /* small letter i with dot below */, - {0x1ecc, 0x96} /* capital letter o with dot below */, - {0x1ecd, 0xe4} /* small letter o with dot below */, - {0x1ece, 0x93} /* capital letter o with hook above */, - {0x1ecf, 0xe1} /* small letter o with hook above */, - {0x1ed0, 0xff} /* capital letter o with circumflex and acute */, - {0x1ed1, 0xe8} /* small letter o with circumflex and acute */, - {0x1ed2, 0xdb} /* capital letter o with circumflex and grave */, - {0x1ed3, 0xe5} /* small letter o with circumflex and grave */, - {0x1ed4, 0xe0} /* capital letter o with circumflex and hook above */, - {0x1ed5, 0xe6} /* small letter o with circumflex and hook above */, - {0x1ed6, 0xf0} /* capital letter o with circumflex and tilde */, - {0x1ed7, 0xe7} /* small letter o with circumflex and tilde */, - {0x1ed8, 0x97} /* latine o accent circonflexe et point souscrit */, - {0x1ed9, 0xe9} /* latine o accent circonflexe et point souscrit */, - {0x1eda, 0x9b} /* capital letter o with horn and acute */, - {0x1edb, 0xed} /* small letter o with horn and acute */, - {0x1edc, 0x98} /* capital letter o with horn and grave */, - {0x1edd, 0xea} /* small letter o with horn and grave */, - {0x1ede, 0x99} /* capital letter o with horn and hook above */, - {0x1edf, 0xeb} /* small letter o with horn and hook above */, - {0x1ee0, 0x9a} /* capital letter o with horn and tilde */, - {0x1ee1, 0xec} /* small letter o with horn and tilde */, - {0x1ee2, 0x9c} /* latine o cornu point souscrit */, - {0x1ee3, 0xee} /* latine o cornu point souscrit */, - {0x1ee4, 0x02} /* capital letter u with dot below */, - {0x1ee5, 0xf4} /* small letter u with dot below */, - {0x1ee6, 0x9e} /* capital letter u with hook above */, - {0x1ee7, 0xf1} /* small letter u with hook above */, - {0x1ee8, 0x11} /* capital letter u with horn and acute */, - {0x1ee9, 0xf8} /* small letter u with horn and acute */, - {0x1eea, 0x04} /* capital letter u with horn and grave */, - {0x1eeb, 0xf5} /* small letter u with horn and grave */, - {0x1eec, 0x05} /* capital letter u with horn and hook above */, - {0x1eed, 0xf6} /* small letter u with horn and hook above */, - {0x1eee, 0x06} /* capital letter u with horn and tilde */, - {0x1eef, 0xf7} /* small letter u with horn and tilde */, - {0x1ef0, 0x12} /* latine u cornu point souscrit */, - {0x1ef1, 0xf9} /* latine u cornu point souscrit */, - {0x1ef2, 0x13} /* capital letter y with grave */, - {0x1ef3, 0xfa} /* small letter y with grave */, - {0x1ef4, 0x17} /* capital letter y with dot below */, - {0x1ef5, 0xfe} /* small letter y with dot below */, - {0x1ef6, 0x14} /* capital letter y with hook above */, - {0x1ef7, 0xfb} /* small letter y with hook above */, - {0x1ef8, 0x15} /* capital letter y with tilde */, - {0x1ef9, 0xfc} /* small letter y with tilde */ -}; - -/* -#define cet_ucs4_to_tcvn_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_tcvn_extra[cet_ucs4_to_tcvn_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_tcvn = /* defined in cet.h */ -{ - cet_cs_name_tcvn, /* name of character set */ - cet_cs_alias_tcvn, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_tcvn, /* char to UCS-4 value table */ - cet_ucs4_ofs_tcvn, /* first non standard character */ - cet_ucs4_cnt_tcvn, /* number of values in table */ - - cet_ucs4_to_tcvn_links, /* UCS-4 to char links */ - cet_ucs4_to_tcvn_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int tcvn_ucs4_full_map[] = -{ - 0x0000, 0x00da, 0x1ee4, 0x0003, 0x1eea, 0x1eec, 0x1eee, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x1ee8, 0x1ef0, 0x1ef2, 0x1ef6, 0x1ef8, 0x00dd, 0x1ef4, - 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c0, 0x1ea2, 0x00c3, 0x00c1, 0x1ea0, 0x1eb6, 0x1eac, 0x00c8, - 0x1eba, 0x1ebc, 0x00c9, 0x1eb8, 0x1ec6, 0x00cc, 0x1ec8, 0x0128, - 0x00cd, 0x1eca, 0x00d2, 0x1ece, 0x00d5, 0x00d3, 0x1ecc, 0x1ed8, - 0x1edc, 0x1ede, 0x1ee0, 0x1eda, 0x1ee2, 0x00d9, 0x1ee6, 0x0168, - -1, 0x0102, 0x00c2, 0x00ca, 0x00d4, 0x01a0, 0x01af, 0x0110, - 0x0103, 0x00e2, 0x00ea, 0x00f4, 0x01a1, 0x01b0, 0x0111, 0x1eb0, - -1, -1, -1, -1, -1, 0x00e0, 0x1ea3, 0x00e3, - 0x00e1, 0x1ea1, 0x1eb2, 0x1eb1, 0x1eb3, 0x1eb5, 0x1eaf, 0x1eb4, - 0x1eae, 0x1ea6, 0x1ea8, 0x1eaa, 0x1ea4, 0x1ec0, 0x1eb7, 0x1ea7, - 0x1ea9, 0x1eab, 0x1ea5, 0x1ead, 0x00e8, 0x1ec2, 0x1ebb, 0x1ebd, - 0x00e9, 0x1eb9, 0x1ec1, 0x1ec3, 0x1ec5, 0x1ebf, 0x1ec7, 0x00ec, - 0x1ec9, 0x1ec4, 0x1ebe, 0x1ed2, 0x0129, 0x00ed, 0x1ecb, 0x00f2, - 0x1ed4, 0x1ecf, 0x00f5, 0x00f3, 0x1ecd, 0x1ed3, 0x1ed5, 0x1ed7, - 0x1ed1, 0x1ed9, 0x1edd, 0x1edf, 0x1ee1, 0x1edb, 0x1ee3, 0x00f9, - 0x1ed6, 0x1ee7, 0x0169, 0x00fa, 0x1ee5, 0x1eeb, 0x1eed, 0x1eef, - 0x1ee9, 0x1ef1, 0x1ef3, 0x1ef7, 0x1ef9, 0x00fd, 0x1ef5, 0x1ed0 -}; -*/ - -#endif diff --git a/gpsbabel/cet/viscii.h b/gpsbabel/cet/viscii.h deleted file mode 100644 index 43dfbe3eb..000000000 --- a/gpsbabel/cet/viscii.h +++ /dev/null @@ -1,247 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "VISCII" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef viscii_h -#define viscii_h - -#define cet_cs_name_viscii "VISCII" - -const char *cet_cs_alias_viscii[] = -{ - "VISCII", "csVISCII", "VISCII1.1-1", NULL -}; - -#define cet_ucs4_ofs_viscii 2 -#define cet_ucs4_cnt_viscii 254 - -const int cet_ucs4_map_viscii[cet_ucs4_cnt_viscii] = -{ - 0x1eb2, 0x0003, 0x0004, 0x1eb4, 0x1eaa, 0x0007, 0x0008, 0x0009, - 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, - 0x0012, 0x0013, 0x1ef6, 0x0015, 0x0016, 0x0017, 0x0018, 0x1ef8, - 0x001a, 0x001b, 0x001c, 0x001d, 0x1ef4, 0x001f, 0x0020, 0x0021, - 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, - 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, - 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, - 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, - 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, - 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, - 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, - 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, - 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, - 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, - 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, - 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x1ea0, 0x1eae, - 0x1eb0, 0x1eb6, 0x1ea4, 0x1ea6, 0x1ea8, 0x1eac, 0x1ebc, 0x1eb8, - 0x1ebe, 0x1ec0, 0x1ec2, 0x1ec4, 0x1ec6, 0x1ed0, 0x1ed2, 0x1ed4, - 0x1ed6, 0x1ed8, 0x1ee2, 0x1eda, 0x1edc, 0x1ede, 0x1eca, 0x1ece, - 0x1ecc, 0x1ec8, 0x1ee6, 0x0168, 0x1ee4, 0x1ef2, 0x00d5, 0x1eaf, - 0x1eb1, 0x1eb7, 0x1ea5, 0x1ea7, 0x1ea9, 0x1ead, 0x1ebd, 0x1eb9, - 0x1ebf, 0x1ec1, 0x1ec3, 0x1ec5, 0x1ec7, 0x1ed1, 0x1ed3, 0x1ed5, - 0x1ed7, 0x1ee0, 0x01a0, 0x1ed9, 0x1edd, 0x1edf, 0x1ecb, 0x1ef0, - 0x1ee8, 0x1eea, 0x1eec, 0x01a1, 0x1edb, 0x01af, 0x00c0, 0x00c1, - 0x00c2, 0x00c3, 0x1ea2, 0x0102, 0x1eb3, 0x1eb5, 0x00c8, 0x00c9, - 0x00ca, 0x1eba, 0x00cc, 0x00cd, 0x0128, 0x1ef3, 0x0110, 0x1ee9, - 0x00d2, 0x00d3, 0x00d4, 0x1ea1, 0x1ef7, 0x1eeb, 0x1eed, 0x00d9, - 0x00da, 0x1ef9, 0x1ef5, 0x00dd, 0x1ee1, 0x01b0, 0x00e0, 0x00e1, - 0x00e2, 0x00e3, 0x1ea3, 0x0103, 0x1eef, 0x1eab, 0x00e8, 0x00e9, - 0x00ea, 0x1ebb, 0x00ec, 0x00ed, 0x0129, 0x1ec9, 0x0111, 0x1ef1, - 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x1ecf, 0x1ecd, 0x1ee5, 0x00f9, - 0x00fa, 0x0169, 0x1ee7, 0x00fd, 0x1ee3, 0x1eee -}; - -#define cet_ucs4_to_viscii_ct 103 - -const cet_ucs4_link_t cet_ucs4_to_viscii_links[cet_ucs4_to_viscii_ct] = -{ - {0x00d5, 0xa0} /* capital letter o with tilde */, - {0x0102, 0xc5} /* capital letter a with breve */, - {0x0103, 0xe5} /* small letter a with breve */, - {0x0110, 0xd0} /* capital letter d with stroke */, - {0x0111, 0xf0} /* small letter d with stroke */, - {0x0128, 0xce} /* capital letter i with tilde */, - {0x0129, 0xee} /* small letter i with tilde */, - {0x0168, 0x9d} /* capital letter u with tilde */, - {0x0169, 0xfb} /* small letter u with tilde */, - {0x01a0, 0xb4} /* capital letter o with horn */, - {0x01a1, 0xbd} /* small letter o with horn */, - {0x01af, 0xbf} /* capital letter u with horn */, - {0x01b0, 0xdf} /* small letter u with horn */, - {0x1ea0, 0x80} /* capital letter a with dot below */, - {0x1ea1, 0xd5} /* small letter a with dot below */, - {0x1ea2, 0xc4} /* capital letter a with hook above */, - {0x1ea3, 0xe4} /* small letter a with hook above */, - {0x1ea4, 0x84} /* capital letter a with circumflex and acute */, - {0x1ea5, 0xa4} /* small letter a with circumflex and acute */, - {0x1ea6, 0x85} /* capital letter a with circumflex and grave */, - {0x1ea7, 0xa5} /* small letter a with circumflex and grave */, - {0x1ea8, 0x86} /* capital letter a with circumflex and hook above */, - {0x1ea9, 0xa6} /* small letter a with circumflex and hook above */, - {0x1eaa, 0x06} /* capital letter a with circumflex and tilde */, - {0x1eab, 0xe7} /* small letter a with circumflex and tilde */, - {0x1eac, 0x87} /* latine a accent circonflexe et point souscrit */, - {0x1ead, 0xa7} /* latine a accent circonflexe et point souscrit */, - {0x1eae, 0x81} /* capital letter a with breve and acute */, - {0x1eaf, 0xa1} /* small letter a with breve and acute */, - {0x1eb0, 0x82} /* capital letter a with breve and grave */, - {0x1eb1, 0xa2} /* small letter a with breve and grave */, - {0x1eb2, 0x02} /* capital letter a with breve and hook above */, - {0x1eb3, 0xc6} /* small letter a with breve and hook above */, - {0x1eb4, 0x05} /* capital letter a with breve and tilde */, - {0x1eb5, 0xc7} /* small letter a with breve and tilde */, - {0x1eb6, 0x83} /* latine a brève et point souscrit */, - {0x1eb7, 0xa3} /* latine a brève et point souscrit */, - {0x1eb8, 0x89} /* capital letter e with dot below */, - {0x1eb9, 0xa9} /* small letter e with dot below */, - {0x1eba, 0xcb} /* capital letter e with hook above */, - {0x1ebb, 0xeb} /* small letter e with hook above */, - {0x1ebc, 0x88} /* capital letter e with tilde */, - {0x1ebd, 0xa8} /* small letter e with tilde */, - {0x1ebe, 0x8a} /* capital letter e with circumflex and acute */, - {0x1ebf, 0xaa} /* small letter e with circumflex and acute */, - {0x1ec0, 0x8b} /* capital letter e with circumflex and grave */, - {0x1ec1, 0xab} /* small letter e with circumflex and grave */, - {0x1ec2, 0x8c} /* capital letter e with circumflex and hook above */, - {0x1ec3, 0xac} /* small letter e with circumflex and hook above */, - {0x1ec4, 0x8d} /* capital letter e with circumflex and tilde */, - {0x1ec5, 0xad} /* small letter e with circumflex and tilde */, - {0x1ec6, 0x8e} /* latine e accent circonflexe et point souscrit */, - {0x1ec7, 0xae} /* latine e accent circonflexe et point souscrit */, - {0x1ec8, 0x9b} /* capital letter i with hook above */, - {0x1ec9, 0xef} /* small letter i with hook above */, - {0x1eca, 0x98} /* capital letter i with dot below */, - {0x1ecb, 0xb8} /* small letter i with dot below */, - {0x1ecc, 0x9a} /* capital letter o with dot below */, - {0x1ecd, 0xf7} /* small letter o with dot below */, - {0x1ece, 0x99} /* capital letter o with hook above */, - {0x1ecf, 0xf6} /* small letter o with hook above */, - {0x1ed0, 0x8f} /* capital letter o with circumflex and acute */, - {0x1ed1, 0xaf} /* small letter o with circumflex and acute */, - {0x1ed2, 0x90} /* capital letter o with circumflex and grave */, - {0x1ed3, 0xb0} /* small letter o with circumflex and grave */, - {0x1ed4, 0x91} /* capital letter o with circumflex and hook above */, - {0x1ed5, 0xb1} /* small letter o with circumflex and hook above */, - {0x1ed6, 0x92} /* capital letter o with circumflex and tilde */, - {0x1ed7, 0xb2} /* small letter o with circumflex and tilde */, - {0x1ed8, 0x93} /* latine o accent circonflexe et point souscrit */, - {0x1ed9, 0xb5} /* latine o accent circonflexe et point souscrit */, - {0x1eda, 0x95} /* capital letter o with horn and acute */, - {0x1edb, 0xbe} /* small letter o with horn and acute */, - {0x1edc, 0x96} /* capital letter o with horn and grave */, - {0x1edd, 0xb6} /* small letter o with horn and grave */, - {0x1ede, 0x97} /* capital letter o with horn and hook above */, - {0x1edf, 0xb7} /* small letter o with horn and hook above */, - {0x1ee0, 0xb3} /* capital letter o with horn and tilde */, - {0x1ee1, 0xde} /* small letter o with horn and tilde */, - {0x1ee2, 0x94} /* latine o cornu point souscrit */, - {0x1ee3, 0xfe} /* latine o cornu point souscrit */, - {0x1ee4, 0x9e} /* capital letter u with dot below */, - {0x1ee5, 0xf8} /* small letter u with dot below */, - {0x1ee6, 0x9c} /* capital letter u with hook above */, - {0x1ee7, 0xfc} /* small letter u with hook above */, - {0x1ee8, 0xba} /* capital letter u with horn and acute */, - {0x1ee9, 0xd1} /* small letter u with horn and acute */, - {0x1eea, 0xbb} /* capital letter u with horn and grave */, - {0x1eeb, 0xd7} /* small letter u with horn and grave */, - {0x1eec, 0xbc} /* capital letter u with horn and hook above */, - {0x1eed, 0xd8} /* small letter u with horn and hook above */, - {0x1eee, 0xff} /* capital letter u with horn and tilde */, - {0x1eef, 0xe6} /* small letter u with horn and tilde */, - {0x1ef0, 0xb9} /* latine u cornu point souscrit */, - {0x1ef1, 0xf1} /* latine u cornu point souscrit */, - {0x1ef2, 0x9f} /* capital letter y with grave */, - {0x1ef3, 0xcf} /* small letter y with grave */, - {0x1ef4, 0x1e} /* capital letter y with dot below */, - {0x1ef5, 0xdc} /* small letter y with dot below */, - {0x1ef6, 0x14} /* capital letter y with hook above */, - {0x1ef7, 0xd6} /* small letter y with hook above */, - {0x1ef8, 0x19} /* capital letter y with tilde */, - {0x1ef9, 0xdb} /* small letter y with tilde */ -}; - -/* -#define cet_ucs4_to_viscii_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_viscii_extra[cet_ucs4_to_viscii_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_viscii = /* defined in cet.h */ -{ - cet_cs_name_viscii, /* name of character set */ - cet_cs_alias_viscii, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_viscii, /* char to UCS-4 value table */ - cet_ucs4_ofs_viscii, /* first non standard character */ - cet_ucs4_cnt_viscii, /* number of values in table */ - - cet_ucs4_to_viscii_links, /* UCS-4 to char links */ - cet_ucs4_to_viscii_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int viscii_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x1eb2, 0x0003, 0x0004, 0x1eb4, 0x1eaa, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x0010, 0x0011, 0x0012, 0x0013, 0x1ef6, 0x0015, 0x0016, 0x0017, - 0x0018, 0x1ef8, 0x001a, 0x001b, 0x001c, 0x001d, 0x1ef4, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x1ea0, 0x1eae, 0x1eb0, 0x1eb6, 0x1ea4, 0x1ea6, 0x1ea8, 0x1eac, - 0x1ebc, 0x1eb8, 0x1ebe, 0x1ec0, 0x1ec2, 0x1ec4, 0x1ec6, 0x1ed0, - 0x1ed2, 0x1ed4, 0x1ed6, 0x1ed8, 0x1ee2, 0x1eda, 0x1edc, 0x1ede, - 0x1eca, 0x1ece, 0x1ecc, 0x1ec8, 0x1ee6, 0x0168, 0x1ee4, 0x1ef2, - 0x00d5, 0x1eaf, 0x1eb1, 0x1eb7, 0x1ea5, 0x1ea7, 0x1ea9, 0x1ead, - 0x1ebd, 0x1eb9, 0x1ebf, 0x1ec1, 0x1ec3, 0x1ec5, 0x1ec7, 0x1ed1, - 0x1ed3, 0x1ed5, 0x1ed7, 0x1ee0, 0x01a0, 0x1ed9, 0x1edd, 0x1edf, - 0x1ecb, 0x1ef0, 0x1ee8, 0x1eea, 0x1eec, 0x01a1, 0x1edb, 0x01af, - 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x1ea2, 0x0102, 0x1eb3, 0x1eb5, - 0x00c8, 0x00c9, 0x00ca, 0x1eba, 0x00cc, 0x00cd, 0x0128, 0x1ef3, - 0x0110, 0x1ee9, 0x00d2, 0x00d3, 0x00d4, 0x1ea1, 0x1ef7, 0x1eeb, - 0x1eed, 0x00d9, 0x00da, 0x1ef9, 0x1ef5, 0x00dd, 0x1ee1, 0x01b0, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x1ea3, 0x0103, 0x1eef, 0x1eab, - 0x00e8, 0x00e9, 0x00ea, 0x1ebb, 0x00ec, 0x00ed, 0x0129, 0x1ec9, - 0x0111, 0x1ef1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x1ecf, 0x1ecd, - 0x1ee5, 0x00f9, 0x00fa, 0x0169, 0x1ee7, 0x00fd, 0x1ee3, 0x1eee -}; -*/ - -#endif diff --git a/gpsbabel/cet/vps.h b/gpsbabel/cet/vps.h deleted file mode 100644 index 73bf86ee4..000000000 --- a/gpsbabel/cet/vps.h +++ /dev/null @@ -1,255 +0,0 @@ -/* - - Data automatically generated from recode output: - - 'recode -lf "VPS" 2>/dev/null' - - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - -*/ - -#ifndef vps_h -#define vps_h - -#define cet_cs_name_vps "VPS" - -const char *cet_cs_alias_vps[] = -{ - "VPS", NULL -}; - -#define cet_ucs4_ofs_vps 2 -#define cet_ucs4_cnt_vps 254 - -const int cet_ucs4_map_vps[cet_ucs4_cnt_vps] = -{ - 0x1ea0, 0x1eac, 0x1eb6, 0x1eb8, 0x1ec6, 0x0007, 0x0008, 0x0009, - 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x1eca, 0x1ecc, - 0x1ed8, 0x1ee2, 0x1ee4, 0x1ef0, 0x0016, 0x0017, 0x0018, 0x1ef4, - 0x001a, 0x001b, 0x1eaa, 0x1eee, 0x001e, 0x001f, 0x0020, 0x0021, - 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, - 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, - 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, - 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, - 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, - 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, - 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, - 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, - 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, - 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, - 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, - 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x00c0, 0x1ea2, - 0x00c3, 0x1ea4, 0x1ea6, 0x1ea8, 0x1ecd, 0x1ed7, 0x0102, 0x1ebf, - 0x1ec1, 0x1ec3, 0x1ec7, 0x1eae, 0x1eb0, 0x1eb2, 0x1ebe, -1, - -1, 0x1ec0, 0x1ec2, 0x1ec4, 0x1ed0, 0x1ed2, 0x1ed4, -1, - 0x00fd, 0x1ef7, 0x1ef5, 0x1eda, 0x1edc, 0x1ede, -1, 0x1eaf, - 0x1eb1, 0x1eb3, 0x1eb5, 0x1eb7, 0x1ee0, 0x1edb, 0x00d9, 0x1edd, - 0x1edf, 0x1ee1, 0x0168, 0x1ee8, 0x1ee3, 0x1eea, 0x1ed5, 0x1eec, - 0x1ef2, 0x1ef8, 0x00cd, 0x00cc, 0x1ed9, 0x1ec8, 0x0128, 0x00d3, - 0x1eed, 0x1eef, 0x00d2, 0x1ece, 0x00d5, 0x1ef1, 0x1ea7, 0x00c1, - 0x00c2, 0x1ea5, 0x1ea9, 0x1eab, 0x1ead, 0x0111, 0x1ebb, 0x00c9, - 0x00ca, 0x1eb9, 0x1ec9, 0x1ec5, 0x1ecb, 0x1ef9, 0x01af, 0x1ee6, - 0x1ed3, 0x1ed1, 0x00d4, 0x1ecf, 0x01a1, 0x00c8, 0x1eeb, 0x1ee9, - 0x00da, 0x0169, 0x01b0, 0x00dd, 0x1eba, -1, 0x00e0, 0x00e1, - 0x00e2, 0x00e3, 0x1ea3, 0x1ea1, 0x0103, -1, 0x00e8, 0x00e9, - 0x00ea, 0x1ebd, 0x00ec, 0x00ed, -1, 0x0129, 0x1eb4, 0x0110, - 0x00f2, 0x00f3, 0x00f4, 0x00f5, -1, 0x01a0, 0x1ee5, 0x00f9, - 0x00fa, 0x1ee7, -1, 0x1ef6, 0x1ebc, 0x1ef3 -}; - -#define cet_ucs4_to_vps_ct 111 - -const cet_ucs4_link_t cet_ucs4_to_vps_links[cet_ucs4_to_vps_ct] = -{ - {0x00c0, 0x80} /* capital letter a with grave */, - {0x00c3, 0x82} /* capital letter a with tilde */, - {0x00c8, 0xd7} /* capital letter e with grave */, - {0x00cc, 0xb5} /* capital letter i with grave */, - {0x00cd, 0xb4} /* capital letter i with acute */, - {0x00d2, 0xbc} /* capital letter o with grave */, - {0x00d3, 0xb9} /* capital letter o with acute */, - {0x00d5, 0xbe} /* capital letter o with tilde */, - {0x00d9, 0xa8} /* capital letter u with grave */, - {0x00fd, 0x9a} /* small letter y with acute */, - {0x0102, 0x88} /* capital letter a with breve */, - {0x0103, 0xe6} /* small letter a with breve */, - {0x0110, 0xf1} /* capital letter d with stroke */, - {0x0111, 0xc7} /* small letter d with stroke */, - {0x0128, 0xb8} /* capital letter i with tilde */, - {0x0129, 0xef} /* small letter i with tilde */, - {0x0168, 0xac} /* capital letter u with tilde */, - {0x0169, 0xdb} /* small letter u with tilde */, - {0x01a0, 0xf7} /* capital letter o with horn */, - {0x01a1, 0xd6} /* small letter o with horn */, - {0x01af, 0xd0} /* capital letter u with horn */, - {0x01b0, 0xdc} /* small letter u with horn */, - {0x1ea0, 0x02} /* capital letter a with dot below */, - {0x1ea1, 0xe5} /* small letter a with dot below */, - {0x1ea2, 0x81} /* capital letter a with hook above */, - {0x1ea3, 0xe4} /* small letter a with hook above */, - {0x1ea4, 0x83} /* capital letter a with circumflex and acute */, - {0x1ea5, 0xc3} /* small letter a with circumflex and acute */, - {0x1ea6, 0x84} /* capital letter a with circumflex and grave */, - {0x1ea7, 0xc0} /* small letter a with circumflex and grave */, - {0x1ea8, 0x85} /* capital letter a with circumflex and hook above */, - {0x1ea9, 0xc4} /* small letter a with circumflex and hook above */, - {0x1eaa, 0x1c} /* capital letter a with circumflex and tilde */, - {0x1eab, 0xc5} /* small letter a with circumflex and tilde */, - {0x1eac, 0x03} /* latine a accent circonflexe et point souscrit */, - {0x1ead, 0xc6} /* latine a accent circonflexe et point souscrit */, - {0x1eae, 0x8d} /* capital letter a with breve and acute */, - {0x1eaf, 0xa1} /* small letter a with breve and acute */, - {0x1eb0, 0x8e} /* capital letter a with breve and grave */, - {0x1eb1, 0xa2} /* small letter a with breve and grave */, - {0x1eb2, 0x8f} /* capital letter a with breve and hook above */, - {0x1eb3, 0xa3} /* small letter a with breve and hook above */, - {0x1eb4, 0xf0} /* capital letter a with breve and tilde */, - {0x1eb5, 0xa4} /* small letter a with breve and tilde */, - {0x1eb6, 0x04} /* latine a brève et point souscrit */, - {0x1eb7, 0xa5} /* latine a brève et point souscrit */, - {0x1eb8, 0x05} /* capital letter e with dot below */, - {0x1eb9, 0xcb} /* small letter e with dot below */, - {0x1eba, 0xde} /* capital letter e with hook above */, - {0x1ebb, 0xc8} /* small letter e with hook above */, - {0x1ebc, 0xfe} /* capital letter e with tilde */, - {0x1ebd, 0xeb} /* small letter e with tilde */, - {0x1ebe, 0x90} /* capital letter e with circumflex and acute */, - {0x1ebf, 0x89} /* small letter e with circumflex and acute */, - {0x1ec0, 0x93} /* capital letter e with circumflex and grave */, - {0x1ec1, 0x8a} /* small letter e with circumflex and grave */, - {0x1ec2, 0x94} /* capital letter e with circumflex and hook above */, - {0x1ec3, 0x8b} /* small letter e with circumflex and hook above */, - {0x1ec4, 0x95} /* capital letter e with circumflex and tilde */, - {0x1ec5, 0xcd} /* small letter e with circumflex and tilde */, - {0x1ec6, 0x06} /* latine e accent circonflexe et point souscrit */, - {0x1ec7, 0x8c} /* latine e accent circonflexe et point souscrit */, - {0x1ec8, 0xb7} /* capital letter i with hook above */, - {0x1ec9, 0xcc} /* small letter i with hook above */, - {0x1eca, 0x10} /* capital letter i with dot below */, - {0x1ecb, 0xce} /* small letter i with dot below */, - {0x1ecc, 0x11} /* capital letter o with dot below */, - {0x1ecd, 0x86} /* small letter o with dot below */, - {0x1ece, 0xbd} /* capital letter o with hook above */, - {0x1ecf, 0xd5} /* small letter o with hook above */, - {0x1ed0, 0x96} /* capital letter o with circumflex and acute */, - {0x1ed1, 0xd3} /* small letter o with circumflex and acute */, - {0x1ed2, 0x97} /* capital letter o with circumflex and grave */, - {0x1ed3, 0xd2} /* small letter o with circumflex and grave */, - {0x1ed4, 0x98} /* capital letter o with circumflex and hook above */, - {0x1ed5, 0xb0} /* small letter o with circumflex and hook above */, - {0x1ed7, 0x87} /* small letter o with circumflex and tilde */, - {0x1ed8, 0x12} /* latine o accent circonflexe et point souscrit */, - {0x1ed9, 0xb6} /* latine o accent circonflexe et point souscrit */, - {0x1eda, 0x9d} /* capital letter o with horn and acute */, - {0x1edb, 0xa7} /* small letter o with horn and acute */, - {0x1edc, 0x9e} /* capital letter o with horn and grave */, - {0x1edd, 0xa9} /* small letter o with horn and grave */, - {0x1ede, 0x9f} /* capital letter o with horn and hook above */, - {0x1edf, 0xaa} /* small letter o with horn and hook above */, - {0x1ee0, 0xa6} /* capital letter o with horn and tilde */, - {0x1ee1, 0xab} /* small letter o with horn and tilde */, - {0x1ee2, 0x13} /* latine o cornu point souscrit */, - {0x1ee3, 0xae} /* latine o cornu point souscrit */, - {0x1ee4, 0x14} /* capital letter u with dot below */, - {0x1ee5, 0xf8} /* small letter u with dot below */, - {0x1ee6, 0xd1} /* capital letter u with hook above */, - {0x1ee7, 0xfb} /* small letter u with hook above */, - {0x1ee8, 0xad} /* capital letter u with horn and acute */, - {0x1ee9, 0xd9} /* small letter u with horn and acute */, - {0x1eea, 0xaf} /* capital letter u with horn and grave */, - {0x1eeb, 0xd8} /* small letter u with horn and grave */, - {0x1eec, 0xb1} /* capital letter u with horn and hook above */, - {0x1eed, 0xba} /* small letter u with horn and hook above */, - {0x1eee, 0x1d} /* capital letter u with horn and tilde */, - {0x1eef, 0xbb} /* small letter u with horn and tilde */, - {0x1ef0, 0x15} /* latine u cornu point souscrit */, - {0x1ef1, 0xbf} /* latine u cornu point souscrit */, - {0x1ef2, 0xb2} /* capital letter y with grave */, - {0x1ef3, 0xff} /* small letter y with grave */, - {0x1ef4, 0x19} /* capital letter y with dot below */, - {0x1ef5, 0x9c} /* small letter y with dot below */, - {0x1ef6, 0xfd} /* capital letter y with hook above */, - {0x1ef7, 0x9b} /* small letter y with hook above */, - {0x1ef8, 0xb3} /* capital letter y with tilde */, - {0x1ef9, 0xcf} /* small letter y with tilde */ -}; - -/* -#define cet_ucs4_to_vps_extra_ct 0 -const cet_ucs4_link_t cet_ucs4_to_vps_extra[cet_ucs4_to_vps_extra_ct] = {}; -*/ - -cet_cs_vec_t cet_cs_vec_vps = /* defined in cet.h */ -{ - cet_cs_name_vps, /* name of character set */ - cet_cs_alias_vps, /* alias table */ - - NULL, /* ... to UCS-4 converter (multi-byte) */ - NULL, /* UCS-4 to ... converter (multi-byte) */ - - cet_ucs4_map_vps, /* char to UCS-4 value table */ - cet_ucs4_ofs_vps, /* first non standard character */ - cet_ucs4_cnt_vps, /* number of values in table */ - - cet_ucs4_to_vps_links, /* UCS-4 to char links */ - cet_ucs4_to_vps_ct, /* number of links */ - - NULL, /* hand made UCS-4 links */ - 0, /* number of extra links */ - - NULL /* for internal use */ -}; - - -/* -const int vps_ucs4_full_map[] = -{ - 0x0000, 0x0001, 0x1ea0, 0x1eac, 0x1eb6, 0x1eb8, 0x1ec6, 0x0007, - 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, - 0x1eca, 0x1ecc, 0x1ed8, 0x1ee2, 0x1ee4, 0x1ef0, 0x0016, 0x0017, - 0x0018, 0x1ef4, 0x001a, 0x001b, 0x1eaa, 0x1eee, 0x001e, 0x001f, - 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, - 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, - 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, - 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, - 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, - 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, - 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, - 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, - 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, - 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, - 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, - 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, - 0x00c0, 0x1ea2, 0x00c3, 0x1ea4, 0x1ea6, 0x1ea8, 0x1ecd, 0x1ed7, - 0x0102, 0x1ebf, 0x1ec1, 0x1ec3, 0x1ec7, 0x1eae, 0x1eb0, 0x1eb2, - 0x1ebe, -1, -1, 0x1ec0, 0x1ec2, 0x1ec4, 0x1ed0, 0x1ed2, - 0x1ed4, -1, 0x00fd, 0x1ef7, 0x1ef5, 0x1eda, 0x1edc, 0x1ede, - -1, 0x1eaf, 0x1eb1, 0x1eb3, 0x1eb5, 0x1eb7, 0x1ee0, 0x1edb, - 0x00d9, 0x1edd, 0x1edf, 0x1ee1, 0x0168, 0x1ee8, 0x1ee3, 0x1eea, - 0x1ed5, 0x1eec, 0x1ef2, 0x1ef8, 0x00cd, 0x00cc, 0x1ed9, 0x1ec8, - 0x0128, 0x00d3, 0x1eed, 0x1eef, 0x00d2, 0x1ece, 0x00d5, 0x1ef1, - 0x1ea7, 0x00c1, 0x00c2, 0x1ea5, 0x1ea9, 0x1eab, 0x1ead, 0x0111, - 0x1ebb, 0x00c9, 0x00ca, 0x1eb9, 0x1ec9, 0x1ec5, 0x1ecb, 0x1ef9, - 0x01af, 0x1ee6, 0x1ed3, 0x1ed1, 0x00d4, 0x1ecf, 0x01a1, 0x00c8, - 0x1eeb, 0x1ee9, 0x00da, 0x0169, 0x01b0, 0x00dd, 0x1eba, -1, - 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x1ea3, 0x1ea1, 0x0103, -1, - 0x00e8, 0x00e9, 0x00ea, 0x1ebd, 0x00ec, 0x00ed, -1, 0x0129, - 0x1eb4, 0x0110, 0x00f2, 0x00f3, 0x00f4, 0x00f5, -1, 0x01a0, - 0x1ee5, 0x00f9, 0x00fa, 0x1ee7, -1, 0x1ef6, 0x1ebc, 0x1ef3 -}; -*/ - -#endif diff --git a/gpsbabel/cet_util.cc b/gpsbabel/cet_util.cc index b89c26edd..9cd516345 100644 --- a/gpsbabel/cet_util.cc +++ b/gpsbabel/cet_util.cc @@ -49,50 +49,10 @@ static int cet_output = 0; /* %%% fixed inbuild character sets %%% */ #include "cet/ansi_x3_4_1968.h" -#include "cet/iso_8859_1.h" -#include "cet/iso_8859_8.h" -#include "cet/iso_8859_15.h" #include "cet/cp1252.h" -#include "cet/cp1255.h" /* %%% short hand strings transmission for main character sets %%% */ -char* -cet_str_utf8_to_iso8859_1(const char* src) -{ - return cet_str_utf8_to_any(src, &cet_cs_vec_iso_8859_1); -} - -char* -cet_str_iso8859_1_to_utf8(const char* src) -{ - return cet_str_any_to_utf8(src, &cet_cs_vec_iso_8859_1); -} - -char* -cet_str_utf8_to_iso8859_8(const char* src) -{ - return cet_str_utf8_to_any(src, &cet_cs_vec_iso_8859_8); -} - -char* -cet_str_iso8859_8_to_utf8(const char* src) -{ - return cet_str_any_to_utf8(src, &cet_cs_vec_iso_8859_8); -} - -char* -cet_str_utf8_to_iso8859_15(const char* src) -{ - return cet_str_utf8_to_any(src, &cet_cs_vec_iso_8859_15); -} - -char* -cet_str_iso8859_15_to_utf8(const char* src) -{ - return cet_str_any_to_utf8(src, &cet_cs_vec_iso_8859_15); -} - char* cet_str_utf8_to_us_ascii(const char* src) { @@ -110,49 +70,18 @@ cet_str_utf8_to_cp1252(const char* src) { return cet_str_utf8_to_any(src, &cet_cs_vec_cp1252); } - char* cet_str_cp1252_to_utf8(const char* src) { return cet_str_any_to_utf8(src, &cet_cs_vec_cp1252); } -char* -cet_str_utf8_to_cp1255(const char* src) -{ - return cet_str_utf8_to_any(src, &cet_cs_vec_cp1255); -} - -char* -cet_str_cp1255_to_utf8(const char* src) -{ - return cet_str_any_to_utf8(src, &cet_cs_vec_cp1255); -} short* cet_str_utf8_to_uni(const char* src, int* length) { return cet_str_any_to_uni(src, &cet_cs_vec_utf8, length); } - - -/* helpers */ - -char* -cet_str_uni_to_any(const short* src, int length, const cet_cs_vec_t* dest_vec) -{ - char* res, *c; - const cet_cs_vec_t* cs = (dest_vec != NULL) ? dest_vec : &cet_cs_vec_ansi_x3_4_1968; - - res = cet_str_uni_to_utf8(src, length); - if (cs != &cet_cs_vec_utf8) { - c = cet_str_utf8_to_any(res, cs); - xfree(res); - res = c; - } - return res; -} - /* %%% cet_str_any_to_any %%% * * -->> for use in mkshort */ @@ -192,128 +121,6 @@ cet_valid_char(const char* src, const cet_cs_vec_t* vec) return cet_char_to_ucs4(*src, v, &value); } -/* %%% include character set headers %%% */ -#if defined (CET_WANTED) -#include "cet/iso_8859_2.h" -#include "cet/cp1250.h" -#include "cet/latin_greek_1.h" -#include "cet/macintosh.h" -#include "cet/cp1250.h" -#include "cet/cp1251.h" -#include "cet/cp1252.h" -#include "cet/cp1253.h" -#include "cet/cp1254.h" -#include "cet/cp1255.h" -#include "cet/cp1256.h" -#include "cet/cp1257.h" -#include "cet/ibm437.h" -#include "cet/ibm850.h" -#include "cet/ibm851.h" -#include "cet/ibm852.h" -#include "cet/ibm855.h" -#include "cet/ibm857.h" -#include "cet/ibm860.h" -#include "cet/ibm861.h" -#include "cet/ibm862.h" -#include "cet/ibm863.h" -#include "cet/ibm864.h" -#include "cet/ibm865.h" -#include "cet/ibm868.h" -#include "cet/ibm869.h" -#include "cet/iso_8859_1.h" -#include "cet/iso_8859_10.h" -#include "cet/iso_8859_13.h" -#include "cet/iso_8859_14.h" -#include "cet/iso_8859_15.h" -#include "cet/iso_8859_2.h" -#include "cet/iso_8859_3.h" -#include "cet/iso_8859_4.h" -#include "cet/iso_8859_5.h" -#include "cet/iso_8859_6.h" -#include "cet/iso_8859_7.h" -#include "cet/iso_8859_8.h" -#include "cet/iso_8859_9.h" -#include "cet/koi8_r.h" -#include "cet/koi8_ru.h" -#include "cet/koi_8.h" -#endif - -#if CET_WANTED -#include "cet/ansi_x3_4_1968.h" -#include "cet/atarist.h" -#include "cet/baltic.h" -#include "cet/bs_4730.h" -#include "cet/bs_viewdata.h" -#include "cet/csa_z243_4_1985_1.h" -#include "cet/csa_z243_4_1985_2.h" -#include "cet/csa_z243_4_1985_gr.h" -#include "cet/csn_369103.h" -#include "cet/cwi.h" -#include "cet/dec_mcs.h" -#include "cet/din_66003.h" -#include "cet/ds_2089.h" -#include "cet/ecma_cyrillic.h" -#include "cet/es.h" -#include "cet/es2.h" -#include "cet/gb_1988_80.h" -#include "cet/gost_19768_87.h" -#include "cet/hp_roman8.h" -#include "cet/ibm037.h" -#include "cet/ibm1004.h" -#include "cet/ibm1026.h" -#include "cet/ibm1047.h" -#include "cet/ibm256.h" -#include "cet/ibm273.h" -#include "cet/ibm277.h" -#include "cet/ibm278.h" -#include "cet/ibm280.h" -#include "cet/ibm284.h" -#include "cet/ibm285.h" -#include "cet/ibm297.h" -#include "cet/ibm500.h" -#include "cet/ibm871.h" -#include "cet/ibm891.h" -#include "cet/ibm903.h" -#include "cet/ibm904.h" -#include "cet/iec_p27_1.h" -#include "cet/iso_10367_box.h" -#include "cet/iso_5427.h" -#include "cet/iso_646_irv.h" -#include "cet/iso_6937_2_25.h" -#include "cet/iso_8859_supp.h" -#include "cet/it.h" -#include "cet/jis_c6220_1969_ro.h" -#include "cet/jis_x0201.h" -#include "cet/jus_i_b1_002.h" -#include "cet/jus_i_b1_003_mac.h" -#include "cet/jus_i_b1_003_serb.h" -#include "cet/keybcs2.h" -#include "cet/koi8_u.h" -#include "cet/koi_7.h" -#include "cet/koi_8_cs2.h" -#include "cet/ksc5636.h" -#include "cet/latin_greek_1.h" -#include "cet/mac_is.h" -#include "cet/macintosh.h" -#include "cet/macintosh_ce.h" -#include "cet/msz_7795_3.h" -#include "cet/nats_dano.h" -#include "cet/nats_sefi.h" -#include "cet/nc_nc00_10.h" -#include "cet/nextstep.h" -#include "cet/nf_z_62_010.h" -#include "cet/nf_z_62_010__1973_.h" -#include "cet/ns_4551_1.h" -#include "cet/ns_4551_2.h" -#include "cet/pt.h" -#include "cet/pt2.h" -#include "cet/sami.h" -#include "cet/sen_850200_b.h" -#include "cet/sen_850200_c.h" -#include "cet/tcvn.h" -#include "cet/viscii.h" -#include "cet/vps.h" -#endif #ifdef DEBUG_MEM @@ -409,343 +216,28 @@ cet_register(void) cet_cs_vec_ct = 0; cet_register_cs(&cet_cs_vec_utf8); /* internal place holder */ - + // Alias for "US-ASCII". #ifdef cet_cs_name_ansi_x3_4_1968 cet_register_cs(&cet_cs_vec_ansi_x3_4_1968); #endif -#ifdef cet_cs_name_atarist - cet_register_cs(&cet_cs_vec_atarist); -#endif -#ifdef cet_cs_name_baltic - cet_register_cs(&cet_cs_vec_baltic); -#endif -#ifdef cet_cs_name_bs_4730 - cet_register_cs(&cet_cs_vec_bs_4730); -#endif -#ifdef cet_cs_name_bs_viewdata - cet_register_cs(&cet_cs_vec_bs_viewdata); -#endif #ifdef cet_cs_name_cp1250 cet_register_cs(&cet_cs_vec_cp1250); #endif -#ifdef cet_cs_name_cp1251 - cet_register_cs(&cet_cs_vec_cp1251); -#endif #ifdef cet_cs_name_cp1252 cet_register_cs(&cet_cs_vec_cp1252); #endif -#ifdef cet_cs_name_cp1253 - cet_register_cs(&cet_cs_vec_cp1253); -#endif -#ifdef cet_cs_name_cp1254 - cet_register_cs(&cet_cs_vec_cp1254); -#endif #ifdef cet_cs_name_cp1255 cet_register_cs(&cet_cs_vec_cp1255); #endif -#ifdef cet_cs_name_cp1256 - cet_register_cs(&cet_cs_vec_cp1256); -#endif -#ifdef cet_cs_name_cp1257 - cet_register_cs(&cet_cs_vec_cp1257); -#endif -#ifdef cet_cs_name_csa_z243_4_1985_1 - cet_register_cs(&cet_cs_vec_csa_z243_4_1985_1); -#endif -#ifdef cet_cs_name_csa_z243_4_1985_2 - cet_register_cs(&cet_cs_vec_csa_z243_4_1985_2); -#endif -#ifdef cet_cs_name_csa_z243_4_1985_gr - cet_register_cs(&cet_cs_vec_csa_z243_4_1985_gr); -#endif -#ifdef cet_cs_name_csn_369103 - cet_register_cs(&cet_cs_vec_csn_369103); -#endif -#ifdef cet_cs_name_cwi - cet_register_cs(&cet_cs_vec_cwi); -#endif -#ifdef cet_cs_name_dec_mcs - cet_register_cs(&cet_cs_vec_dec_mcs); -#endif -#ifdef cet_cs_name_din_66003 - cet_register_cs(&cet_cs_vec_din_66003); -#endif -#ifdef cet_cs_name_ds_2089 - cet_register_cs(&cet_cs_vec_ds_2089); -#endif -#ifdef cet_cs_name_ecma_cyrillic - cet_register_cs(&cet_cs_vec_ecma_cyrillic); -#endif -#ifdef cet_cs_name_es - cet_register_cs(&cet_cs_vec_es); -#endif -#ifdef cet_cs_name_es2 - cet_register_cs(&cet_cs_vec_es2); -#endif -#ifdef cet_cs_name_gb_1988_80 - cet_register_cs(&cet_cs_vec_gb_1988_80); -#endif -#ifdef cet_cs_name_gost_19768_87 - cet_register_cs(&cet_cs_vec_gost_19768_87); -#endif -#ifdef cet_cs_name_hp_roman8 - cet_register_cs(&cet_cs_vec_hp_roman8); -#endif -#ifdef cet_cs_name_ibm037 - cet_register_cs(&cet_cs_vec_ibm037); -#endif -#ifdef cet_cs_name_ibm1004 - cet_register_cs(&cet_cs_vec_ibm1004); -#endif -#ifdef cet_cs_name_ibm1026 - cet_register_cs(&cet_cs_vec_ibm1026); -#endif -#ifdef cet_cs_name_ibm1047 - cet_register_cs(&cet_cs_vec_ibm1047); -#endif -#ifdef cet_cs_name_ibm256 - cet_register_cs(&cet_cs_vec_ibm256); -#endif -#ifdef cet_cs_name_ibm273 - cet_register_cs(&cet_cs_vec_ibm273); -#endif -#ifdef cet_cs_name_ibm277 - cet_register_cs(&cet_cs_vec_ibm277); -#endif -#ifdef cet_cs_name_ibm278 - cet_register_cs(&cet_cs_vec_ibm278); -#endif -#ifdef cet_cs_name_ibm280 - cet_register_cs(&cet_cs_vec_ibm280); -#endif -#ifdef cet_cs_name_ibm284 - cet_register_cs(&cet_cs_vec_ibm284); -#endif -#ifdef cet_cs_name_ibm285 - cet_register_cs(&cet_cs_vec_ibm285); -#endif -#ifdef cet_cs_name_ibm297 - cet_register_cs(&cet_cs_vec_ibm297); -#endif -#ifdef cet_cs_name_ibm437 - cet_register_cs(&cet_cs_vec_ibm437); -#endif -#ifdef cet_cs_name_ibm500 - cet_register_cs(&cet_cs_vec_ibm500); -#endif -#ifdef cet_cs_name_ibm850 - cet_register_cs(&cet_cs_vec_ibm850); -#endif -#ifdef cet_cs_name_ibm851 - cet_register_cs(&cet_cs_vec_ibm851); -#endif -#ifdef cet_cs_name_ibm852 - cet_register_cs(&cet_cs_vec_ibm852); -#endif -#ifdef cet_cs_name_ibm855 - cet_register_cs(&cet_cs_vec_ibm855); -#endif -#ifdef cet_cs_name_ibm857 - cet_register_cs(&cet_cs_vec_ibm857); -#endif -#ifdef cet_cs_name_ibm860 - cet_register_cs(&cet_cs_vec_ibm860); -#endif -#ifdef cet_cs_name_ibm861 - cet_register_cs(&cet_cs_vec_ibm861); -#endif -#ifdef cet_cs_name_ibm862 - cet_register_cs(&cet_cs_vec_ibm862); -#endif -#ifdef cet_cs_name_ibm863 - cet_register_cs(&cet_cs_vec_ibm863); -#endif -#ifdef cet_cs_name_ibm864 - cet_register_cs(&cet_cs_vec_ibm864); -#endif -#ifdef cet_cs_name_ibm865 - cet_register_cs(&cet_cs_vec_ibm865); -#endif -#ifdef cet_cs_name_ibm868 - cet_register_cs(&cet_cs_vec_ibm868); -#endif -#ifdef cet_cs_name_ibm869 - cet_register_cs(&cet_cs_vec_ibm869); -#endif -#ifdef cet_cs_name_ibm871 - cet_register_cs(&cet_cs_vec_ibm871); -#endif -#ifdef cet_cs_name_ibm891 - cet_register_cs(&cet_cs_vec_ibm891); -#endif -#ifdef cet_cs_name_ibm903 - cet_register_cs(&cet_cs_vec_ibm903); -#endif -#ifdef cet_cs_name_ibm904 - cet_register_cs(&cet_cs_vec_ibm904); -#endif -#ifdef cet_cs_name_iec_p27_1 - cet_register_cs(&cet_cs_vec_iec_p27_1); -#endif -#ifdef cet_cs_name_iso_10367_box - cet_register_cs(&cet_cs_vec_iso_10367_box); -#endif -#ifdef cet_cs_name_iso_5427 - cet_register_cs(&cet_cs_vec_iso_5427); -#endif -#ifdef cet_cs_name_iso_646_irv - cet_register_cs(&cet_cs_vec_iso_646_irv); -#endif -#ifdef cet_cs_name_iso_6937_2_25 - cet_register_cs(&cet_cs_vec_iso_6937_2_25); -#endif #ifdef cet_cs_name_iso_8859_1 cet_register_cs(&cet_cs_vec_iso_8859_1); #endif -#ifdef cet_cs_name_iso_8859_10 - cet_register_cs(&cet_cs_vec_iso_8859_10); -#endif -#ifdef cet_cs_name_iso_8859_13 - cet_register_cs(&cet_cs_vec_iso_8859_13); -#endif -#ifdef cet_cs_name_iso_8859_14 - cet_register_cs(&cet_cs_vec_iso_8859_14); -#endif #ifdef cet_cs_name_iso_8859_15 cet_register_cs(&cet_cs_vec_iso_8859_15); #endif -#ifdef cet_cs_name_iso_8859_2 - cet_register_cs(&cet_cs_vec_iso_8859_2); -#endif -#ifdef cet_cs_name_iso_8859_3 - cet_register_cs(&cet_cs_vec_iso_8859_3); -#endif -#ifdef cet_cs_name_iso_8859_4 - cet_register_cs(&cet_cs_vec_iso_8859_4); -#endif -#ifdef cet_cs_name_iso_8859_5 - cet_register_cs(&cet_cs_vec_iso_8859_5); -#endif -#ifdef cet_cs_name_iso_8859_6 - cet_register_cs(&cet_cs_vec_iso_8859_6); -#endif -#ifdef cet_cs_name_iso_8859_7 - cet_register_cs(&cet_cs_vec_iso_8859_7); -#endif #ifdef cet_cs_name_iso_8859_8 cet_register_cs(&cet_cs_vec_iso_8859_8); #endif -#ifdef cet_cs_name_iso_8859_9 - cet_register_cs(&cet_cs_vec_iso_8859_9); -#endif -#ifdef cet_cs_name_iso_8859_supp - cet_register_cs(&cet_cs_vec_iso_8859_supp); -#endif -#ifdef cet_cs_name_it - cet_register_cs(&cet_cs_vec_it); -#endif -#ifdef cet_cs_name_jis_c6220_1969_ro - cet_register_cs(&cet_cs_vec_jis_c6220_1969_ro); -#endif -#ifdef cet_cs_name_jis_x0201 - cet_register_cs(&cet_cs_vec_jis_x0201); -#endif -#ifdef cet_cs_name_jus_i_b1_002 - cet_register_cs(&cet_cs_vec_jus_i_b1_002); -#endif -#ifdef cet_cs_name_jus_i_b1_003_mac - cet_register_cs(&cet_cs_vec_jus_i_b1_003_mac); -#endif -#ifdef cet_cs_name_jus_i_b1_003_serb - cet_register_cs(&cet_cs_vec_jus_i_b1_003_serb); -#endif -#ifdef cet_cs_name_keybcs2 - cet_register_cs(&cet_cs_vec_keybcs2); -#endif -#ifdef cet_cs_name_koi8_r - cet_register_cs(&cet_cs_vec_koi8_r); -#endif -#ifdef cet_cs_name_koi8_ru - cet_register_cs(&cet_cs_vec_koi8_ru); -#endif -#ifdef cet_cs_name_koi8_u - cet_register_cs(&cet_cs_vec_koi8_u); -#endif -#ifdef cet_cs_name_koi_7 - cet_register_cs(&cet_cs_vec_koi_7); -#endif -#ifdef cet_cs_name_koi_8 - cet_register_cs(&cet_cs_vec_koi_8); -#endif -#ifdef cet_cs_name_koi_8_cs2 - cet_register_cs(&cet_cs_vec_koi_8_cs2); -#endif -#ifdef cet_cs_name_ksc5636 - cet_register_cs(&cet_cs_vec_ksc5636); -#endif -#ifdef cet_cs_name_latin_greek_1 - cet_register_cs(&cet_cs_vec_latin_greek_1); -#endif -#ifdef cet_cs_name_mac_is - cet_register_cs(&cet_cs_vec_mac_is); -#endif -#ifdef cet_cs_name_macintosh - cet_register_cs(&cet_cs_vec_macintosh); -#endif -#ifdef cet_cs_name_macintosh_ce - cet_register_cs(&cet_cs_vec_macintosh_ce); -#endif -#ifdef cet_cs_name_msz_7795_3 - cet_register_cs(&cet_cs_vec_msz_7795_3); -#endif -#ifdef cet_cs_name_nats_dano - cet_register_cs(&cet_cs_vec_nats_dano); -#endif -#ifdef cet_cs_name_nats_sefi - cet_register_cs(&cet_cs_vec_nats_sefi); -#endif -#ifdef cet_cs_name_nc_nc00_10 - cet_register_cs(&cet_cs_vec_nc_nc00_10); -#endif -#ifdef cet_cs_name_nextstep - cet_register_cs(&cet_cs_vec_nextstep); -#endif -#ifdef cet_cs_name_nf_z_62_010 - cet_register_cs(&cet_cs_vec_nf_z_62_010); -#endif -#ifdef cet_cs_name_nf_z_62_010__1973_ - cet_register_cs(&cet_cs_vec_nf_z_62_010__1973_); -#endif -#ifdef cet_cs_name_ns_4551_1 - cet_register_cs(&cet_cs_vec_ns_4551_1); -#endif -#ifdef cet_cs_name_ns_4551_2 - cet_register_cs(&cet_cs_vec_ns_4551_2); -#endif -#ifdef cet_cs_name_pt - cet_register_cs(&cet_cs_vec_pt); -#endif -#ifdef cet_cs_name_pt2 - cet_register_cs(&cet_cs_vec_pt2); -#endif -#ifdef cet_cs_name_sami - cet_register_cs(&cet_cs_vec_sami); -#endif -#ifdef cet_cs_name_sen_850200_b - cet_register_cs(&cet_cs_vec_sen_850200_b); -#endif -#ifdef cet_cs_name_sen_850200_c - cet_register_cs(&cet_cs_vec_sen_850200_c); -#endif -#ifdef cet_cs_name_tcvn - cet_register_cs(&cet_cs_vec_tcvn); -#endif -#ifdef cet_cs_name_viscii - cet_register_cs(&cet_cs_vec_viscii); -#endif -#ifdef cet_cs_name_vps - cet_register_cs(&cet_cs_vec_vps); -#endif if (cet_cs_vec_ct > 0) { cet_cs_vec_t* p; @@ -1034,7 +526,6 @@ void cet_convert_strings(const cet_cs_vec_t* source, const cet_cs_vec_t* target, const char* format) { char* cs_name_from, *cs_name_to; - (void)format; converter = NULL; @@ -1077,68 +568,6 @@ cet_convert_strings(const cet_cs_vec_t* source, const cet_cs_vec_t* target, cons } } -/* %%% cet_disp_character_set_names %%% - * - * - Put all character set names and aliases to "FILE" - */ - -void -cet_disp_character_set_names(FILE* fout) -{ - int i, c, ac; - cet_cs_vec_t* vec; - cet_cs_vec_t** list; - - if (cet_cs_alias_ct == 0) { - return; - } - - c = 0; - for (vec = cet_cs_vec_root; vec != NULL; vec = vec->next) { - c++; - } - - if (cet_cs_vec_ct != c) { - fatal(MYNAME ": internal error \"%s\"!\n", "cet_disp_character_set_names"); - } - - list = (cet_cs_vec_t**)xcalloc(c, sizeof(*list)); - - i = 0; /* fill the list */ - for (vec = cet_cs_vec_root; vec != NULL; vec = vec->next) { - list[i++] = vec; - } - qsort(list, c, sizeof(*list), cet_cs_vec_qsort_cb); /* sort list by name */ - - ac = 0; - - fprintf(fout, "GPSBabel builtin character sets: (-c option)\n"); - for (i = 0; i < c; i++) { - char** a; - - vec = list[i]; - fprintf(fout, "\n* %s", vec->name); - - a = (char**)vec->alias; - if (a != NULL) { - int column = 0; - int alias = 0; - - while (*a != NULL) { - if (case_ignore_strcmp(*a, vec->name) != 0) { - ac++; - fprintf(fout, "%s%s%s", - (alias++ > 0) ? ", " : "", - (column++ % 6 == 0) ? "\n\t" : "", - *a); - } - a++; - } - } - } - fprintf(fout, "\n\n"); - fprintf(fout, "We have %d builtin character sets with %d aliases!\n", c, ac); - xfree(list); -} /* %%% cet_fprintf / cet_vfprintf %%% * diff --git a/gpsbabel/cet_util.h b/gpsbabel/cet_util.h index 1d437d0b6..5473e1af6 100644 --- a/gpsbabel/cet_util.h +++ b/gpsbabel/cet_util.h @@ -59,7 +59,6 @@ extern cet_cs_vec_t cet_cs_vec_utf8; /* helpers */ -char* cet_str_uni_to_any(const short* src, int length, const cet_cs_vec_t* dest_vec); char* cet_str_any_to_any(const char* src, const cet_cs_vec_t* src_vec, const cet_cs_vec_t* dest_vec); int cet_valid_char(const char* src, const cet_cs_vec_t* vec); diff --git a/gpsbabel/exif.cc b/gpsbabel/exif.cc index 6181d2669..054329e3e 100644 --- a/gpsbabel/exif.cc +++ b/gpsbabel/exif.cc @@ -861,19 +861,16 @@ exif_waypt_from_exif_app(exif_app_t* app) tag = exif_find_tag(app, EXIF_IFD, EXIF_IFD_TAG_USER_CMT); /* UserComment */ if (tag && (tag->size > 8)) { - char* str = NULL; + QString str; if (memcmp(tag->data, "ASCII\0\0\0", 8) == 0) { - str = xstrndup((char*)tag->data + 8, tag->size - 8); + wpt->notes = QString::fromLatin1((char*) tag->data + 8, tag->size - 8); } else if (memcmp(tag->data, "UNICODE\0", 8) == 0) { - int i, len = (tag->size - 8) / 2; - int16_t* s = (int16_t*)((char*)tag->data + 8); - for (i = 0; i < len; i++) { - s[i] = be_read16(&s[i]); /* always BE ? */ - } - str = cet_str_uni_to_any(s, len, global_opts.charset); - } - if (str != NULL) { - wpt->notes = str; + // I'm not at all sure that casting alignment away like this is a good + // idea in light of arches that don't allow unaligned loads, but in the + // absence of test data that captures it and the grubbiness of the code + // that was here before, I'm going to do this and then come back to it + // if it's a problem. + wpt->notes = QString::fromUtf16((const uint16_t*)((char*) tag->data + 8), tag->size - 8); } } diff --git a/gpsbabel/main.cc b/gpsbabel/main.cc index 0e4510801..2cbf9507a 100644 --- a/gpsbabel/main.cc +++ b/gpsbabel/main.cc @@ -550,9 +550,6 @@ main(int argc, char* argv[]) case '?': usage(argv[0],0); exit(0); - case 'l': - cet_disp_character_set_names(stdout); - exit(0); case 'p': optarg = argv[argn][2] ? argv[argn]+2 : argv[++argn]; inifile_done(global_opts.inifile); diff --git a/gpsbabel/naviguide.cc b/gpsbabel/naviguide.cc index e95cbf03d..199fd719a 100644 --- a/gpsbabel/naviguide.cc +++ b/gpsbabel/naviguide.cc @@ -432,6 +432,5 @@ ff_vecs_t ng_vecs = { data_write, NULL, ng_args, - //CET_CHARSET_ASCII, 0 /* CET-REVIEW */ - CET_CHARSET_HEBREW, 0 + CET_CHARSET_ASCII, 0 // Hebrew, but explictly encoded. }; -- 2.30.2